linux-next/drivers/net/wireless
Linus Walleij 146b6057e1 wifi: cw1200: Fix potential NULL dereference
A recent refactoring was identified by smatch to cause another potential NULL
dereference:

drivers/net/wireless/st/cw1200/cw1200_spi.c:440 cw1200_spi_disconnect() error: we previously assumed 'self' could be null (see line 433)

Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/r/202411271742.Xa7CNVh1-lkp@intel.com/
Fixes: 2719a9e715 ("wifi: cw1200: Convert to GPIO descriptors")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://patch.msgid.link/20241217-cw1200-fix-v1-1-911e6b5823ec@linaro.org
2024-12-18 19:58:27 +02:00
..
admtek wifi: mac80211: inform the low level if drv_stop() is a suspend 2024-06-26 10:25:46 +02:00
ath wireless-next patches for v6.13 2024-11-13 18:35:19 -08:00
atmel wifi: mac80211: inform the low level if drv_stop() is a suspend 2024-06-26 10:25:46 +02:00
broadcom module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
intel wifi: iwlwifi: mvm: Fix __counted_by usage in cfg80211_wowlan_nd_* 2024-12-18 18:34:57 +01:00
intersil wifi: p54: Use IRQF_NO_AUTOEN flag in request_irq() 2024-09-18 16:54:30 +03:00
marvell Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2024-10-31 18:10:07 -07:00
mediatek wireless-next patches for v6.13 2024-11-13 18:35:19 -08:00
microchip Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2024-10-31 18:10:07 -07:00
purelifi move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
quantenna wifi: cfg80211: disallow SMPS in AP mode 2024-10-23 16:43:03 +02:00
ralink Networking changes for 6.13. 2024-11-21 08:28:08 -08:00
realtek wireless-next patches for v6.13 2024-11-13 18:35:19 -08:00
rsi wifi: rsi: Remove an unused field in struct rsi_debugfs 2024-09-09 15:30:49 +03:00
silabs wifi: wfx: Fix error handling in wfx_core_init() 2024-10-31 16:18:42 +02:00
st wifi: cw1200: Fix potential NULL dereference 2024-12-18 19:58:27 +02:00
ti wifi: Switch back to struct platform_driver::remove() 2024-11-11 14:10:45 +02:00
virtual Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2024-10-31 18:10:07 -07:00
zydas move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
Kconfig wifi: remove orphaned rndis_wlan driver 2023-10-30 19:30:33 +02:00
Makefile wifi: remove orphaned rndis_wlan driver 2023-10-30 19:30:33 +02:00