linux/drivers/net/wireless
Sebastian Andrzej Siewior c597ede403 net: brcmfmac: Convey allocation mode as argument
The usage of in_interrupt() in drivers is phased out and Linus clearly
requested that code which changes behaviour depending on context should
either be seperated or the context be conveyed in an argument passed by the
caller, which usually knows the context.

brcmf_fweh_process_event() uses in_interrupt() to select the allocation
mode GFP_KERNEL/GFP_ATOMIC. Aside of the above reasons this check is
incomplete as it cannot detect contexts which just have preemption or
interrupts disabled.

All callchains leading to brcmf_fweh_process_event() can clearly identify
the calling context. Convey a 'gfp' argument through the callchains and let
the callers hand in the appropriate GFP mode.

This has also the advantage that any change of execution context or
preemption/interrupt state in these callchains will be detected by the
memory allocator for all GFP_KERNEL allocations.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-09-29 14:02:55 -07:00
..
admtek adm8211: switch from 'pci_' to 'dma_' API 2020-08-18 15:51:41 +03:00
ath wireless-drivers-next patches for v5.10 2020-09-25 13:16:29 -07:00
atmel atmel: convert tasklets to use new tasklet_setup() API 2020-08-27 16:22:02 +03:00
broadcom net: brcmfmac: Convey allocation mode as argument 2020-09-29 14:02:55 -07:00
cisco airo: switch from 'pci_' to 'dma_' API 2020-09-16 08:56:43 +03:00
intel wireless-drivers-next patches for v5.10 2020-09-11 13:32:31 -07:00
intersil prism54: isl_ioctl: Remove unused variable 'j' 2020-09-01 16:14:51 +03:00
marvell Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-09-22 16:45:34 -07:00
mediatek wireless-drivers-next patches for v5.10 2020-09-25 13:16:29 -07:00
microchip net: wilc1000: clean up resource in error path of init mon interface 2020-09-21 16:02:13 +03:00
quantenna qtnfmac: Remove unused macro QTNF_DMP_MAX_LEN 2020-09-16 09:09:17 +03:00
ralink rt2x00: convert tasklets to use new tasklet_setup() API 2020-08-27 16:22:13 +03:00
realtek rtw88: Fix potential probe error handling race with wow firmware loading 2020-09-24 18:49:56 +03:00
rsi rsi: rsi_91x_sdio_ops: File headers are not good kernel-doc candidates 2020-09-01 16:14:49 +03:00
st cw1200: wsm: Remove 'dummy' variables 2020-09-01 12:02:43 +03:00
ti wireless-drivers-next patches for v5.10 2020-09-25 13:16:29 -07:00
zydas net: zd1211rw: Remove ZD_ASSERT(in_interrupt()) 2020-09-29 14:02:54 -07:00
Kconfig
mac80211_hwsim.c mac80211: rename csa counters to countdown counters 2020-08-27 14:12:15 +02:00
mac80211_hwsim.h
Makefile
ray_cs.c
ray_cs.h
rayctl.h
rndis_wlan.c rndis_wlan: tighten check of rndis_query_oid return 2020-08-18 15:52:45 +03:00
virt_wifi.c
wl3501.h
wl3501_cs.c wl3501_cs: Fix a bunch of formatting issues related to function docs 2020-09-01 16:14:47 +03:00