diff options
author | Su Hui <suhui@nfschina.com> | 2024-04-22 11:42:44 +0800 |
---|---|---|
committer | Kalle Valo <quic_kvalo@quicinc.com> | 2024-04-24 18:40:09 +0300 |
commit | c511a9c12674d246916bb16c479d496b76983193 (patch) | |
tree | eb1449c7b3f40b878723ad39152263e2feae3f4b /scripts/gdb/linux/vmalloc.py | |
parent | da3cbd88e780d206795ac3f2b97b6ade9fd48322 (diff) |
wifi: ath10k: Fix an error code problem in ath10k_dbg_sta_write_peer_debug_trigger()
Clang Static Checker (scan-build) warns:
drivers/net/wireless/ath/ath10k/debugfs_sta.c:line 429, column 3
Value stored to 'ret' is never read.
Return 'ret' rather than 'count' when 'ret' stores an error code.
Fixes: ee8b08a1be82 ("ath10k: add debugfs support to get per peer tids log via tracing")
Signed-off-by: Su Hui <suhui@nfschina.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://msgid.link/20240422034243.938962-1-suhui@nfschina.com
Diffstat (limited to 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions