From: Harishankar <harishankarpp7@gmail.com>
To: rafael@kernel.org
Cc: lenb@kernel.org, linux-acpi@vger.kernel.org,
linux-kernel@vger.kernel.org, harishankarpp7@gmail.com
Subject: [PATCH] ACPI: property: fix spacing around colon in pointer macros
Date: Fri, 19 Sep 2025 12:29:51 +0530 [thread overview]
Message-ID: <20250919065951.156362-1-harishankarpp7@gmail.com> (raw)
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
reply other threads:[~2025-09-19 7:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250919065951.156362-1-harishankarpp7@gmail.com \
--to=harishankarpp7@gmail.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rafael@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).