Skip to content

Commit 3596717

Browse files
TropicaoKalle Valo
authored andcommitted
Revert "wifi: wilc1000: set atomic flag on kmemdup in srcu critical section"
This reverts commit 35aee01 Commit 35aee01 ("wifi: wilc1000: set atomic flag on kmemdup in srcu critical section") was preparatory to the SRCU to RCU conversion done by commit f236464 ("wifi: wilc1000: convert list management to RCU"). This conversion brought issues and so has been reverted, so the atomic flag is not needed anymore. Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://msgid.link/20240528-wilc_revert_srcu_to_rcu-v1-2-bce096e0798c@bootlin.com
1 parent ebfb5e8 commit 3596717

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • drivers/net/wireless/microchip/wilc1000

drivers/net/wireless/microchip/wilc1000/hif.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1594,7 +1594,7 @@ void wilc_network_info_received(struct wilc *wilc, u8 *buffer, u32 length)
15941594
msg->body.net_info.rssi = buffer[8];
15951595
msg->body.net_info.mgmt = kmemdup(&buffer[9],
15961596
msg->body.net_info.frame_len,
1597-
GFP_ATOMIC);
1597+
GFP_KERNEL);
15981598
if (!msg->body.net_info.mgmt) {
15991599
kfree(msg);
16001600
goto out;

0 commit comments

Comments
 (0)