soc/amd/common/block/lpc/espi_util: use __fallthrough
commitcbaf75301298acd26831375f486ba4b193dbab57
authorFelix Held <felix-coreboot@felixheld.de>
Mon, 21 Feb 2022 15:44:48 +0000 (21 16:44 +0100)
committerFelix Held <felix-coreboot@felixheld.de>
Tue, 22 Feb 2022 15:56:55 +0000 (22 15:56 +0000)
tree6fc930cc6b6730745cd9ce70c6335576d98f1385
parent6f4a5454ac8fc9d5f1b31c06b6773bc96197dd5e
soc/amd/common/block/lpc/espi_util: use __fallthrough

Using __fallthrough instead of a comment about the fall-through being
intentional should make clang stop complaining about intended fall-
through statements.

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I940529be02e20c72f6e97b2cfa10f0dd8f7020b6
Reviewed-on: https://review.coreboot.org/c/coreboot/+/62216
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Reviewed-by: Jason Glenesk <jason.glenesk@gmail.com>
src/soc/amd/common/block/lpc/espi_util.c