Linux ACPI
 help / color / mirror / Atom feed
From: Markus Elfring <Markus.Elfring@web.de>
To: Diksha Kumari <dkdevgan@outlook.com>,
	linux-acpi@vger.kernel.org, acpica-devel@lists.linux.dev
Cc: Diksha Kumari <dikshakdevgan@gmail.com>,
	LKML <linux-kernel@vger.kernel.org>, Len Brown <lenb@kernel.org>,
	"Rafael J. Wysocki" <rafael@kernel.org>,
	Robert Moore <robert.moore@intel.com>
Subject: Re: [PATCH V2] acpi: remove unnecessary parenthesis from return statement
Date: Sun, 3 Aug 2025 18:08:28 +0200	[thread overview]
Message-ID: <a62ff710-4216-4c4a-9ca1-b376a3703531@web.de> (raw)
In-Reply-To: <20250803153829.6545-1-dikshakdevgan@gmail.com>

> checkpatch.pl is generating a warning when return value is enclosed
> in parenthesis. Remove the parenthesis to improve code readability.

                             parentheses?

You propose to omit also some curly brackets, don't you?


…> ---
>  drivers/acpi/acpica/dbconvert.c | 43 +++++++++++++++------------------
…

Did you overlook the addition of patch version descriptions?
https://lore.kernel.org/all/?q=%22This+looks+like+a+new+version+of+a+previously+submitted+patch%22
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.16#n310

Regards,
Markus

  reply	other threads:[~2025-08-03 16:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-03 15:38 [PATCH V2] acpi: remove unnecessary parenthesis from return statement Diksha Kumari
2025-08-03 16:08 ` Markus Elfring [this message]
2025-08-03 16:54   ` Diksha Kumari
2025-08-12 13:07 ` Rafael J. Wysocki

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=a62ff710-4216-4c4a-9ca1-b376a3703531@web.de \
    --to=markus.elfring@web.de \
    --cc=acpica-devel@lists.linux.dev \
    --cc=dikshakdevgan@gmail.com \
    --cc=dkdevgan@outlook.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rafael@kernel.org \
    --cc=robert.moore@intel.com \
    /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