From: Ping-Ke Shih <pkshih@realtek.com>
To: Thorsten Blum <thorsten.blum@toblux.com>,
"Jes.Sorensen@gmail.com" <Jes.Sorensen@gmail.com>,
"kvalo@kernel.org" <kvalo@kernel.org>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: RE: [PATCH] wifi: rtl8xxxu: Use swap() to improve rtl8xxxu_switch_ports()
Date: Thu, 11 Jul 2024 00:20:37 +0000 [thread overview]
Message-ID: <d1f56e9441ac452996a91f0b535c9e82@realtek.com> (raw)
In-Reply-To: <20240710190047.709843-2-thorsten.blum@toblux.com>
Thorsten Blum <thorsten.blum@toblux.com> wrote:
> Use the swap() macro to simplify the rtl8xxxu_switch_ports() function
> and improve its readability. Remove the local variable vif.
>
> Fixes the following Coccinelle/coccicheck warning reported by
> swap.cocci:
>
> WARNING opportunity for swap()
>
> Compile-tested only.
>
> Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>
The same patch [1] has been applied.
[1] https://patch.msgid.link/20240619024017.53246-1-jiapeng.chong@linux.alibaba.com
prev parent reply other threads:[~2024-07-11 0:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-10 19:00 Thorsten Blum
2024-07-11 0:20 ` Ping-Ke Shih [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=d1f56e9441ac452996a91f0b535c9e82@realtek.com \
--to=pkshih@realtek.com \
--cc=Jes.Sorensen@gmail.com \
--cc=kvalo@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=thorsten.blum@toblux.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
all inboxes | Powered by JetHome®