u-boot/lib/zlib
Andre Przywara 3d907a5a49 zlib: annotate switch/case fallthrough cases
The inflate state machine in zlib uses switch/case fall-through's
extensively, as it sometimes advances the state, and lets the
conveniently placed next case statement handle the new state already.
The pattern here is:
		state->mode = LEN;
	case LEN:

Annotate those occasions with the "fallthrough;" macro, to let compilers
know this is fine when using -Wimplicit-fallthrough.

This mimics the upstream commit 76f70abbc73f:
Author:  Mark Adler <madler@alumni.caltech.edu>
Date:    Sun Mar 27 00:12:38 2022 -0700
Subject: Add fallthrough comments for gcc.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Link: https://github.com/madler/zlib/commit/76f70abbc73f
Reviewed-by: Tom Rini <trini@konsulko.com>
2025-04-08 16:23:51 -06:00
..
adler32.c
deflate.c lib: Remove duplicate newlines 2024-07-15 12:12:18 -06:00
deflate.h lib: Remove duplicate newlines 2024-07-15 12:12:18 -06:00
inffast.c zlib: Fix big performance regression 2024-07-19 16:48:07 -06:00
inffast.h
inffixed.h
inflate.c zlib: annotate switch/case fallthrough cases 2025-04-08 16:23:51 -06:00
inflate.h Revert "Revert "Merge patch series "zlib: Address CVE-2016-9841""" 2024-07-05 13:57:02 -06:00
inftrees.c lib: zlib: Remove offset pointer optimization in inftrees.c 2020-07-17 08:51:29 -04:00
inftrees.h
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
trees.c lib: Remove duplicate newlines 2024-07-15 12:12:18 -06:00
trees.h
uncompr.c include/u-boot, lib/zlib: add sources for zlib decompression 2020-08-07 22:31:32 -04:00
zlib.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
zlib.h zlib: Fix big performance regression 2024-07-19 16:48:07 -06:00
zutil.c Revert "Revert "Merge patch series "zlib: Address CVE-2016-9841""" 2024-07-05 13:57:02 -06:00
zutil.h lib: Remove duplicate newlines 2024-07-15 12:12:18 -06:00