Skip to contentSkip to conversation

ACPI: property: fix spacing around colon in pointer macros

PATCH New Harishankar 1 participant 1 message Sep 19, 2025 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ACPI: property: fix spacing around colon in pointer macros

Fix coding style issues reported by checkpatch.pl in drivers/acpi/property.c. The colons following pointer types in macros were missing the required surrounding spaces.

This change makes the code consistent with the Linux kernel coding style guidelines.

---
 drivers/acpi/property.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/acpi/property.c +4 -4
index 436019d96..8905a8b34 100644
@@ -1108,10 +1108,10 @@ static int acpi_data_prop_read_single(const struct acpi_device_data *data,
 				break;					\
 			}						\
 			if (__items[i].integer.value > _Generic(__val,	\
-								u8 *: U8_MAX, \
-								u16 *: U16_MAX, \
-								u32 *: U32_MAX, \
-								u64 *: U64_MAX)) { \
+								u8  * : U8_MAX, \
+								u16 * : U16_MAX, \
+								u32 * : U32_MAX, \
+								u64 * : U64_MAX)) { \
 				ret = -EOVERFLOW;			\
 				break;					\
 			}						\
Signature · 1 line
2.51.0