[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201027122439.GA670469@kroah.com>
Date: Tue, 27 Oct 2020 13:24:39 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Jérôme Pouiller <jerome.pouiller@...abs.com>
Cc: Nathan Chancellor <natechancellor@...il.com>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Arnd Bergmann <arnd@...nel.org>, Arnd Bergmann <arnd@...db.de>,
Dan Carpenter <dan.carpenter@...cle.com>,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
clang-built-linux@...glegroups.com
Subject: Re: [PATCH] staging: wfx: avoid uninitialized variable use
On Mon, Oct 26, 2020 at 05:11:11PM +0100, Jérôme Pouiller wrote:
> On Monday 26 October 2020 17:02:22 CET Arnd Bergmann wrote:
> >
> > From: Arnd Bergmann <arnd@...db.de>
> >
> > Move the added check of the 'band' variable after the
> > initialization. Pointed out by clang with
> >
> > drivers/staging/wfx/data_tx.c:34:19: warning: variable 'band' is uninitialized when used here [-Wuninitialized]
> > if (rate->idx >= band->n_bitrates) {
>
> Hello Arnd,
>
> This patch has already been submitted[1]. I think it is going to be
> applied to staging very soon.
>
> Sorry for the disturbing.
>
> [1] https://lore.kernel.org/driverdev-devel/20201019160604.1609180-1-Jerome.Pouiller@silabs.com/
Sorry for the delay, had to wait until -rc1 was out.
Now queued up in my tree.
greg k-h
Powered by blists - more mailing lists