[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <171397321994.2567832.9996590005061868676.kvalo@kernel.org>
Date: Wed, 24 Apr 2024 15:40:21 +0000 (UTC)
From: Kalle Valo <kvalo@...nel.org>
To: Su Hui <suhui@...china.com>
Cc: quic_jjohnson@...cinc.com, jjohnson@...nel.org, nathan@...nel.org,
ndesaulniers@...gle.com, morbo@...gle.com, justinstitt@...gle.com,
Su Hui <suhui@...china.com>, c_mkenna@....qualcomm.com,
linux-wireless@...r.kernel.org, ath10k@...ts.infradead.org,
linux-kernel@...r.kernel.org, llvm@...ts.linux.dev,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH wireless v2] wifi: ath10k: Fix an error code problem in
ath10k_dbg_sta_write_peer_debug_trigger()
Su Hui <suhui@...china.com> wrote:
> 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@...china.com>
> Acked-by: Jeff Johnson <quic_jjohnson@...cinc.com>
> Signed-off-by: Kalle Valo <quic_kvalo@...cinc.com>
Patch applied to ath-next branch of ath.git, thanks.
c511a9c12674 wifi: ath10k: Fix an error code problem in ath10k_dbg_sta_write_peer_debug_trigger()
--
https://patchwork.kernel.org/project/linux-wireless/patch/20240422034243.938962-1-suhui@nfschina.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists