diff options
author | Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com> | 2023-03-07 13:47:06 +0300 |
---|---|---|
committer | Kalle Valo <quic_kvalo@quicinc.com> | 2023-03-15 13:18:22 +0300 |
commit | 488d9a484f96eee4f0e8e108aed42a057a1c7295 (patch) | |
tree | e6187810a6d6149d7d9e2425048bab94246b6b60 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | f94557154d9fc77c392844523388edd4661a27a3 (diff) | |
download | linux-488d9a484f96eee4f0e8e108aed42a057a1c7295.tar.xz |
wifi: ath12k: Add missing unwind goto in ath12k_pci_probe()
Smatch Warns:
drivers/net/wireless/ath/ath12k/pci.c:1198 ath12k_pci_probe()
warn: missing unwind goto?
Store the error value in ret and use correct label with a goto.
Only Compile tested, found with Smatch.
Fixes: d889913205cf ("wifi: ath12k: driver for Qualcomm Wi-Fi 7 devices")
Reported-by: Dan Carpenter <error27@gmail.com>
Link: https://lore.kernel.org/all/Y+426q6cfkEdb5Bv@kili/
Suggested-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230307104706.240119-1-harshit.m.mogalapalli@oracle.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions