[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170628175030.F05F460AFB@smtp.codeaurora.org>
Date: Wed, 28 Jun 2017 17:50:30 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Colin Ian King <colin.king@...onical.com>
Cc: Igor Mitsyanko <imitsyanko@...ntenna.com>,
Avinash Patil <avinashp@...ntenna.com>,
Sergey Matyukevich <smatyukevich@...ntenna.com>,
"David S . Miller" <davem@...emloft.net>,
Bindu Therthala <btherthala@...ntenna.com>,
Kamlesh Rath <krath@...ntenna.com>,
Sergei Maksimenko <smaksimenko@...ntenna.com>,
Johannes Berg <johannes.berg@...el.com>,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [net-next] qtnfmac: fix uninitialized return code in ret
Colin Ian King <colin.king@...onical.com> wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> The return value ret is unitialized and garbage is being returned
> for the three different error conditions when setting up the PCIe
> BARs. Fix this by initializing ret to -ENOMEM to indicate that
> the BARs failed to be setup correctly.
>
> Detected by CoverityScan, CID#1437563 ("Unitialized scalar variable")
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
> Reviewed-by: Sergey Matyukevich <sergey.matyukevich.os@...ntenna.com>
Patch applied to wireless-drivers-next.git, thanks.
3e3d8aa61107 qtnfmac: fix uninitialized return code in ret
--
https://patchwork.kernel.org/patch/9801833/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists