]> www.infradead.org Git - nvme.git/commit
wifi: wilc1000: convert list management to RCU
authorAlexis Lothoré <alexis.lothore@bootlin.com>
Wed, 10 Apr 2024 07:10:34 +0000 (09:10 +0200)
committerKalle Valo <kvalo@kernel.org>
Tue, 16 Apr 2024 15:30:57 +0000 (18:30 +0300)
commitf236464f1db7bea80075e6e31ac70dc6eb80547f
tree8a91d683733111d2fb702d4bd87a9d6dfaac94c4
parent35aee01ff43d7eb6c2caa0b94e7cc6c45baeeab7
wifi: wilc1000: convert list management to RCU

wilc1000 driver currently uses SRCU API to manage vif list. There is no
real reason to use SRCU API here, and it makes things slightly more
complicated (we need to handle a SRCU index as well as a srcu_struct) than
classical RCU.

Switch SRCU APIs to RCU APIs.

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240410-wilc_srcu_to_rcu-v1-2-a9ff5b10feaa@bootlin.com
drivers/net/wireless/microchip/wilc1000/cfg80211.c
drivers/net/wireless/microchip/wilc1000/hif.c
drivers/net/wireless/microchip/wilc1000/netdev.c
drivers/net/wireless/microchip/wilc1000/netdev.h
drivers/net/wireless/microchip/wilc1000/wlan.c