All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Hussien Sajjad Ali <teamakeads@gmail.com>
Cc: linux-staging@lists.linux.dev
Subject: Re: [PATCH] staging: rtl8723bs: fix while loop checkpatch logic in enqueue_reorder_recvframe
Date: Fri, 17 Jul 2026 16:33:28 +0200	[thread overview]
Message-ID: <2026071749-endpoint-diagram-7179@gregkh> (raw)
In-Reply-To: <20260717140344.16131-1-teamakeads@gmail.com>

On Fri, Jul 17, 2026 at 05:03:44PM +0300, Hussien Sajjad Ali wrote:
> The checkpatch.pl tool reports a warning for using an unnecessary else
> after a return statement. This patch refactors the while loop logic in
> enqueue_reorder_recvframe to remove the unnecessary else block and
> improve code style.

If you look in the archives, you will see that this patch actually
changes the logic here, right?

Be careful please.

thanks,

greg k-h

  reply	other threads:[~2026-07-17 14:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-17 14:03 [PATCH] staging: rtl8723bs: fix while loop checkpatch logic in enqueue_reorder_recvframe Hussien Sajjad Ali
2026-07-17 14:33 ` Greg KH [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-07-12 19:18 Hussien Sajjad Ali
2026-07-17 12:14 ` Greg KH

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=2026071749-endpoint-diagram-7179@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=linux-staging@lists.linux.dev \
    --cc=teamakeads@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.