diff options
| author | Linus Walleij <[email protected]> | 2024-12-17 12:55:48 +0000 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2024-12-18 17:58:27 +0000 |
| commit | 146b6057e1fd28fb1a38d300bf76a38dfba7f9fb (patch) | |
| tree | 06426cab8ffbc2546b4244ce0f239281dba8ca73 /drivers/net/wireless/ath/ath12k/wmi.c | |
| parent | wifi: iwlwifi: mvm: Fix __counted_by usage in cfg80211_wowlan_nd_* (diff) | |
| download | kernel-146b6057e1fd28fb1a38d300bf76a38dfba7f9fb.tar.gz kernel-146b6057e1fd28fb1a38d300bf76a38dfba7f9fb.zip | |
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 <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Closes: https://lore.kernel.org/r/[email protected]/
Fixes: 2719a9e7156c ("wifi: cw1200: Convert to GPIO descriptors")
Signed-off-by: Linus Walleij <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'drivers/net/wireless/ath/ath12k/wmi.c')
0 files changed, 0 insertions, 0 deletions
