From 855eb93547d7ab5b4d2df340ff9ba305c4b24c68 Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Wed, 4 Feb 2026 10:37:10 -0600 Subject: [PATCH] sio/nuvoton/nct6791d: Fix fallthrough linter error Apply the recommended change to correctly notate a switch fallthrough. Change-Id: If5f26f47dde641e6a5b687c4ab669efad438d8c4 Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/c/coreboot/+/91099 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Alicja Michalska --- src/superio/nuvoton/nct6791d/superio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/superio/nuvoton/nct6791d/superio.c b/src/superio/nuvoton/nct6791d/superio.c index 91a39084a9..343dd13475 100644 --- a/src/superio/nuvoton/nct6791d/superio.c +++ b/src/superio/nuvoton/nct6791d/superio.c @@ -30,7 +30,8 @@ static const char *nct6791d_acpi_hid(const struct device *dev) return NULL; switch (dev->path.pnp.device & 0xff) { - case NCT6791D_SP1: /* fallthrough */ + case NCT6791D_SP1: + __fallthrough; case NCT6791D_SP2: return ACPI_HID_COM; case NCT6791D_KBC: