diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2024-12-17 15:55:48 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2024-12-18 20:58:27 +0300 |
commit | 146b6057e1fd28fb1a38d300bf76a38dfba7f9fb (patch) | |
tree | 06426cab8ffbc2546b4244ce0f239281dba8ca73 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cc0c53f4fac562efb3aca2bc493515e77642ae33 (diff) | |
download | linux-146b6057e1fd28fb1a38d300bf76a38dfba7f9fb.tar.xz |
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: 2719a9e7156c ("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
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions