mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ACPI: property: fix spacing around colon in pointer macros
@ 2025-09-19  6:59 Harishankar
  0 siblings, 0 replies; only message in thread
From: Harishankar @ 2025-09-19  6:59 UTC (permalink / raw)
  To: rafael; +Cc: lenb, linux-acpi, linux-kernel, harishankarpp7

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.

Signed-off-by: Harishankar <harishankarpp7@gmail.com>
---
 drivers/acpi/property.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/acpi/property.c b/drivers/acpi/property.c
index 436019d96..8905a8b34 100644
--- a/drivers/acpi/property.c
+++ b/drivers/acpi/property.c
@@ -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;					\
 			}						\
-- 
2.51.0


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-09-19  7:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-19  6:59 [PATCH] ACPI: property: fix spacing around colon in pointer macros Harishankar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®