Skip to contentSkip to conversation

ACPICA: Use ACPI_FALLTHROUGH

PATCH In review Wei Ming Chen 2 participants 2 messages May 12, 2021 – May 14, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ACPICA: Use ACPI_FALLTHROUGH

Replace /* FALLTHROUGH */ comment with ACPI_FALLTHROUGH

---
 drivers/acpi/acpica/utprint.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/acpi/acpica/utprint.c +1 -1
index e37d612e8db5..05426596d1f4 100644
@@ -475,7 +475,7 @@ int vsnprintf(char *string, acpi_size size, const char *format, va_list args)
 		case 'X':
 
 			type |= ACPI_FORMAT_UPPER;
-			/* FALLTHROUGH */
+			ACPI_FALLTHROUGH;
 
 		case 'x':
 
Signature · 1 line
2.25.1
#1 lore raw
Quoted 32 lines

-----Original Message-----
From: Wei Ming Chen <[email protected]>
Sent: Wednesday, May 12, 2021 6:50 AM
To: [email protected]
Cc: Kaneda, Erik <[email protected]>; [email protected]; linux- [email protected]; Wei Ming Chen <[email protected]>
Subject: [PATCH] ACPICA: Use ACPI_FALLTHROUGH

Replace /* FALLTHROUGH */ comment with ACPI_FALLTHROUGH

---
 drivers/acpi/acpica/utprint.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/acpi/acpica/utprint.c +1 -2
index e37d612e8db5..05426596d1f4 100644
@@ -475,7 +475,7 @@ int vsnprintf(char *string, acpi_size size, const char
 *format, va_list args)
 		case 'X':
 
 			type |= ACPI_FORMAT_UPPER;
-			/* FALLTHROUGH */
+			ACPI_FALLTHROUGH;
 
 		case 'x':
 
--
Quoted 1 line

2.25.1

I made a pull request here: https://github.com/acpica/acpica/pull/688
I'll circulate it to Linux upstream after we do a release (about once per month).

Thanks,
Erik