1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-01 22:21:16 +02:00

Fix several -Wno-implicit-fallthrough warnings

GCC is picky about the comment being where the break should go.

Change-Id: I05db2fb34025fefe2c6ddd1274c8e45b7cc5a4b6
Signed-off-by: Richard Hughes <richard@hughsie.com>
Reviewed-on: https://review.coreboot.org/c/30406
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Richard Hughes
2018-12-19 12:04:30 +00:00
committed by Nico Huber
parent e2cbb12f22
commit db7482bb72
4 changed files with 9 additions and 3 deletions

View File

@ -891,7 +891,7 @@ static int ich7_run_opcode(OPCODE op, uint32_t offset,
case 2:
/* Select second preop. */
temp16 |= SPIC_SPOP;
/* And fall through. */
/* Fall through. */
case 1:
/* Atomic command (preop+op) */
temp16 |= SPIC_ACS;
@ -1013,7 +1013,7 @@ static int ich9_run_opcode(OPCODE op, uint32_t offset,
case 2:
/* Select second preop. */
temp32 |= SSFC_SPOP;
/* And fall through. */
/* Fall through. */
case 1:
/* Atomic command (preop+op) */
temp32 |= SSFC_ACS;