[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <3fb72f1fd0594f8981075ee0f3fbb0f7@realtek.com>
Date: Thu, 11 Jul 2024 00:13:03 +0000
From: Ping-Ke Shih <pkshih@...ltek.com>
To: Thorsten Blum <thorsten.blum@...lux.com>,
"kvalo@...nel.org"
<kvalo@...nel.org>
CC: "linux-wireless@...r.kernel.org" <linux-wireless@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH] wifi: rtw89: chan: Use swap() to improve rtw89_swap_sub_entity()
Thorsten Blum <thorsten.blum@...lux.com> wrote:
> Use the swap() macro to simplify the rtw89_swap_sub_entity() function
> and improve its readability. Remove the local variable tmp.
>
> Fixes the following Coccinelle/coccicheck warning reported by
> swap.cocci:
>
> WARNING opportunity for swap()
>
> Compile-tested only.
>
> Signed-off-by: Thorsten Blum <thorsten.blum@...lux.com>
The same patch [1] has been applied.
[1] https://lore.kernel.org/all/20240529020244.129027-1-jiapeng.chong@linux.alibaba.com/
Powered by blists - more mailing lists