Re: [PATCH net-next] net: use assign_bit() where applicable

From: Ratheesh Kannoth

Date: Thu Sep 17 2026 - 22:25:12 EST


On 2026-09-17 at 18:09:52, Peng Fan (OSS) (peng.fan@xxxxxxxxxxx) wrote:
> From: Peng Fan <peng.fan@xxxxxxx>
>
> Convert open-coded if/else with set_bit/clear_bit and their
> non-atomic __set_bit/__clear_bit variants to the assign_bit/__assign_bit
> API.
>

drivers/net/ethernet/marvell/octeontx2/af/cgx.c | 10 ++-------
.../net/ethernet/marvell/octeontx2/af/cn20k/npc.c | 5 +----
.../net/ethernet/marvell/octeontx2/af/rvu_nix.c | 15 +++----------
.../net/ethernet/marvell/octeontx2/af/rvu_npa.c | 10 ++-------

For above files

Reviewed-by: Ratheesh Kannoth <rkannoth@xxxxxxxxxxx>