kernel_samsung_a53x/drivers/net/wireless/ath/ath10k
Su Hui 2b005f04ce wifi: ath10k: Fix an error code problem in ath10k_dbg_sta_write_peer_debug_trigger()
[ Upstream commit c511a9c12674d246916bb16c479d496b76983193 ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 12:26:55 +01:00
..
ahb.c
ahb.h
bmi.c
bmi.h
ce.c
ce.h
core.c wireless: Remove redundant 'flush_workqueue()' calls 2024-11-19 08:44:44 +01:00
core.h
coredump.c
coredump.h
debug.c
debug.h
debugfs_sta.c wifi: ath10k: Fix an error code problem in ath10k_dbg_sta_write_peer_debug_trigger() 2024-11-19 12:26:55 +01:00
hif.h
htc.c
htc.h
htt.c
htt.h
htt_rx.c
htt_tx.c
hw.c
hw.h
Kconfig
mac.c
mac.h
Makefile
p2p.c
p2p.h
pci.c
pci.h
qmi.c
qmi.h
qmi_wlfw_v01.c
qmi_wlfw_v01.h
rx_desc.h
sdio.c wireless: Remove redundant 'flush_workqueue()' calls 2024-11-19 08:44:44 +01:00
sdio.h
snoc.c
snoc.h
spectral.c
spectral.h
swap.c
swap.h
targaddrs.h
testmode.c
testmode.h
testmode_i.h
thermal.c
thermal.h
trace.c
trace.h
txrx.c
txrx.h
usb.c
usb.h
wmi-ops.h
wmi-tlv.c wifi: ath10k: fix NULL pointer dereference in ath10k_wmi_tlv_op_pull_mgmt_tx_compl_ev() 2024-11-19 08:44:38 +01:00
wmi-tlv.h
wmi.c wifi: ath10k: poll service ready message before failing 2024-11-19 12:26:53 +01:00
wmi.h
wow.c
wow.h