lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20250919065951.156362-1-harishankarpp7@gmail.com>
Date: Fri, 19 Sep 2025 12:29:51 +0530
From: Harishankar <harishankarpp7@...il.com>
To: rafael@...nel.org
Cc: lenb@...nel.org,
	linux-acpi@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	harishankarpp7@...il.com
Subject: [PATCH] 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.

Signed-off-by: Harishankar <harishankarpp7@...il.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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ