[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <172252436655.2450489.13205282881651123345.kvalo@kernel.org>
Date: Thu, 1 Aug 2024 14:59:28 +0000 (UTC)
From: Kalle Valo <kvalo@...nel.org>
To: Thorsten Blum <thorsten.blum@...lux.com>
Cc: toke@...e.dk, linux-wireless@...r.kernel.org,
linux-kernel@...r.kernel.org, Thorsten Blum <thorsten.blum@...lux.com>
Subject: Re: [PATCH] wifi: ath9k: Use swap() to improve
ath9k_hw_get_nf_hist_mid()
Thorsten Blum <thorsten.blum@...lux.com> wrote:
> Use the swap() macro to simplify the ath9k_hw_get_nf_hist_mid() function
> and improve its readability.
>
> 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>
> Acked-by: Toke Høiland-Jørgensen <toke@...e.dk>
> Signed-off-by: Kalle Valo <quic_kvalo@...cinc.com>
Patch applied to ath-next branch of ath.git, thanks.
215a19631d11 wifi: ath9k: Use swap() to improve ath9k_hw_get_nf_hist_mid()
--
https://patchwork.kernel.org/project/linux-wireless/patch/20240710185743.709742-2-thorsten.blum@toblux.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists