wifi: wilc1000: set atomic flag on kmemdup in srcu critical section
authorAlexis Lothoré <alexis.lothore@bootlin.com>
Wed, 10 Apr 2024 07:10:33 +0000 (09:10 +0200)
committerKalle Valo <kvalo@kernel.org>
Tue, 16 Apr 2024 15:30:57 +0000 (18:30 +0300)
commit35aee01ff43d7eb6c2caa0b94e7cc6c45baeeab7
tree757c02772fefcd8adfe7707271b796318e188730
parentd26a0a66f9290a3665e283826637722507af5ce3
wifi: wilc1000: set atomic flag on kmemdup in srcu critical section

In order to prepare wilc1000 driver switch from SRCU to RCU, make sure that
allocators are provided with the GFP_ATOMIC flag when called in a critical
read section.

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-1-a9ff5b10feaa@bootlin.com
drivers/net/wireless/microchip/wilc1000/hif.c