1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/wireless/microchip/wilc1000
Ajay.Kathat@microchip.com 40b717bfce wifi: wilc1000: fix DMA on stack objects
Sometimes 'wilc_sdio_cmd53' is called with addresses pointing to an
object on the stack. Use dynamically allocated memory for cmd53 instead
of stack address which is not DMA'able.

Fixes: 5625f965d7 ("wilc1000: move wilc driver out of staging")
Reported-by: Michael Walle <mwalle@kernel.org>
Suggested-by: Michael Walle <mwalle@kernel.org>
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Reviewed-by: Michael Walle <mwalle@kernel.org>
Tested-by: Michael Walle <mwalle@kernel.org>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220809075749.62752-1-ajay.kathat@microchip.com
2022-08-30 19:36:29 +03:00
..
cfg80211.c wifi: wilc1000: set station_info flag only when signal value is valid 2022-07-27 15:58:10 +03:00
cfg80211.h wilc1000: move wilc driver out of staging 2020-06-26 08:46:46 +03:00
fw.h wifi: wilc1000: add IGTK support 2022-05-30 14:18:00 +03:00
hif.c wifi: wilc1000: fix spurious inline in wilc_handle_disconnect() 2022-08-08 11:11:04 +03:00
hif.h wifi: wilc1000: fix spurious inline in wilc_handle_disconnect() 2022-08-08 11:11:04 +03:00
Kconfig wilc1000: Add support for enabling CRC 2021-04-17 20:47:40 +03:00
Makefile wilc1000: use API version number info along with firmware filename 2020-07-14 20:52:27 +03:00
mon.c wilc1000: fix crash observed in AP mode with cfg80211_register_netdevice() 2022-05-11 08:25:33 +03:00
netdev.c wifi: wilc1000: use existing iftype variable to store the interface type 2022-07-27 15:58:11 +03:00
netdev.h wifi: wilc1000: fix DMA on stack objects 2022-08-30 19:36:29 +03:00
sdio.c wifi: wilc1000: fix DMA on stack objects 2022-08-30 19:36:29 +03:00
spi.c wifi: wilc1000: add 'isinit' flag for SDIO bus similar to SPI 2022-07-27 15:58:10 +03:00
wlan.c wifi: wilc1000: fix DMA on stack objects 2022-08-30 19:36:29 +03:00
wlan.h wifi: wilc1000: add 'isinit' flag for SDIO bus similar to SPI 2022-07-27 15:58:10 +03:00
wlan_cfg.c wifi: wilc1000: get correct length of string WID from received config packet 2022-07-27 15:58:10 +03:00
wlan_cfg.h wilc1000: move wilc driver out of staging 2020-06-26 08:46:46 +03:00
wlan_if.h wifi: wilc1000: add IGTK support 2022-05-30 14:18:00 +03:00