coreboot-utils/do-explicit-fallthrough.patch
Ismail Dönmez 7229c10e43 Accepting request 571210 from home:mnhauke
- Update to 4.7
  * Full changelog:
    https://coreboot.org/releases/coreboot-4.7-relnotes.txt
- Rebase patches:
  * k8resdump.diff
  * no-pie.patch
  * do-explicit-fallthrough.patch
- Adjust CFLAGS for util/ifdtool

- verify source signature

- Update to 4.6
  * Full changelog:
    https://www.coreboot.org/releases/coreboot-4.6-relnotes.txt
- Fix URL
- Build with intelmetool

OBS-URL: https://build.opensuse.org/request/show/571210
OBS-URL: https://build.opensuse.org/package/show/hardware/coreboot-utils?expand=0&rev=28
2018-01-31 15:30:55 +00:00

13 lines
554 B
Diff

diff --git a/util/cbfstool/lz4/lib/lz4frame.c b/util/cbfstool/lz4/lib/lz4frame.c
index f984b27..1505875 100644
--- a/util/cbfstool/lz4/lib/lz4frame.c
+++ b/util/cbfstool/lz4/lib/lz4frame.c
@@ -1092,6 +1092,7 @@ size_t LZ4F_decompress(LZ4F_decompressionContext_t decompressionContext,
dctxPtr->dStage = dstage_storeHeader;
}
/* Falls through. */
+ __attribute__ ((fallthrough));
case dstage_storeHeader:
{
size_t sizeToCopy = dctxPtr->tmpInTarget - dctxPtr->tmpInSize;