[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20201110181502.0890CC433C8@smtp.codeaurora.org>
Date: Tue, 10 Nov 2020 18:15:02 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Alex Dewar <alex.dewar90@...il.com>
Cc: unlisted-recipients:; (no To-header on input)
Alex Dewar <alex.dewar90@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Carl Huang <cjhuang@...eaurora.org>,
ath11k@...ts.infradead.org, linux-wireless@...r.kernel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] ath11k: Handle errors if peer creation fails
Alex Dewar <alex.dewar90@...il.com> wrote:
> ath11k_peer_create() is called without its return value being checked,
> meaning errors will be unhandled. Add missing check and, as the mutex is
> unconditionally unlocked on leaving this function, simplify the exit
> path.
>
> Addresses-Coverity-ID: 1497531 ("Code maintainability issues")
> Fixes: 701e48a43e15 ("ath11k: add packet log support for QCA6390")
> Signed-off-by: Alex Dewar <alex.dewar90@...il.com>
> Signed-off-by: Kalle Valo <kvalo@...eaurora.org>
Patch applied to ath-next branch of ath.git, thanks.
c134d1f8c436 ath11k: Handle errors if peer creation fails
--
https://patchwork.kernel.org/project/linux-wireless/patch/20201004100218.311653-1-alex.dewar90@gmail.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists