All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dan Carpenter <error27@gmail.com>
To: Ashmit Kumar <work.ashmitkumar@gmail.com>
Cc: gregkh@linuxfoundation.org, linux-staging@lists.linux.dev,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] staging: rtl8723bs: remove unnecessary parentheses from return
Date: Wed, 29 Jul 2026 12:32:47 +0300	[thread overview]
Message-ID: <amnIv0liSx7AKjpU@stanley.mountain> (raw)
In-Reply-To: <20260728181351.13243-1-work.ashmitkumar@gmail.com>

On Tue, Jul 28, 2026 at 06:13:50PM +0000, Ashmit Kumar wrote:
> The Linux kernel coding style specifies that return is not a function and therefore parentheses are not required.
> 

Please run your patches through checkpatch.

regards,
dan carpenter


      reply	other threads:[~2026-07-29  9:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-28 18:13 [PATCH] staging: rtl8723bs: remove unnecessary parentheses from return Ashmit Kumar
2026-07-29  9:32 ` Dan Carpenter [this message]

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=amnIv0liSx7AKjpU@stanley.mountain \
    --to=error27@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    --cc=work.ashmitkumar@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.