From db7482bb72035fab8386226d1720cde09e0c700e Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Wed, 19 Dec 2018 12:04:30 +0000 Subject: 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 Reviewed-on: https://review.coreboot.org/c/30406 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber Reviewed-by: Paul Menzel Reviewed-by: Angel Pons --- ichspi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ichspi.c') diff --git a/ichspi.c b/ichspi.c index 911f50ac1..0f1470d14 100644 --- a/ichspi.c +++ b/ichspi.c @@ -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; -- cgit v1.2.3