[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9b3fe152-2798-4c3c-8fc5-29cbdc7c336b@gmail.com>
Date: Sun, 3 Aug 2025 20:48:55 +0530
From: Diksha Kumari <dikshakdevgan@...il.com>
To: Markus Elfring <Markus.Elfring@....de>,
Diksha Kumari <dkdevgan@...look.com>, linux-acpi@...r.kernel.org,
acpica-devel@...ts.linux.dev
Cc: LKML <linux-kernel@...r.kernel.org>, Len Brown <lenb@...nel.org>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Robert Moore <robert.moore@...el.com>
Subject: Re: [PATCH] acpi: remove unnecessary paranthesis from return
On 03/08/25 20:06, Markus Elfring wrote:
>> checkpatch.pl is generating a warning when return value is
>> enclosed in paranthesis. Remove the paranthesis to improve
> …
>
> parenthesis?
will fix this in next revision.
>
> You may occasionally put more than 58 characters into text lines
> of such a change description.
Noted.
> Please avoid a typo also in the summary phrase.
>
>
> …
>> +++ b/drivers/acpi/acpica/dbconvert.c
>> @@ -32,7 +32,7 @@ acpi_status acpi_db_hex_char_to_value(int hex_char, u8 *return_value)
>> /* Digit must be ascii [0-9a-fA-F] */
>>
>> if (!isxdigit(hex_char)) {
>> - return (AE_BAD_HEX_CONSTANT);
>> + return AE_BAD_HEX_CONSTANT;
>> }
will fix this in next revision.
Regards,
Diksha
> …
>
> See also:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/coding-style.rst?h=v6.16#n197
>
> Regards,
> Markus
Powered by blists - more mailing lists