Skip to content
Commit c511a9c1 authored by Su Hui's avatar Su Hui Committed by Kalle Valo
Browse files

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: ee8b08a1 ("ath10k: add debugfs support to get per peer tids log via tracing")
Signed-off-by: default avatarSu Hui <suhui@nfschina.com>
Acked-by: default avatarJeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: default avatarKalle Valo <quic_kvalo@quicinc.com>
Link: https://msgid.link/20240422034243.938962-1-suhui@nfschina.com
parent da3cbd88
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment