Re: linux-next: build warning after merge of the pm tree

From: Stephen Rothwell
Date: Mon Jul 30 2018 - 20:40:19 EST


Hi all,

On Mon, 30 Jul 2018 10:24:45 +0300 Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx> wrote:
>
> On Mon, Jul 30, 2018 at 12:00:53PM +1000, Stephen Rothwell wrote:
> >
> > After merging the pm tree, today's linux-next build (x86_64 allmodconfig)
> > produced this warning:
> >
> > drivers/media/i2c/mt9v111.c: In function 'mt9v111_set_format':
> > drivers/media/i2c/mt9v111.c:887:15: warning: 'idx' may be used uninitialized in this function [-Wmaybe-uninitialized]
> > unsigned int idx;
> > ^~~
> >
> > Introduced by commit
> >
> > aab7ed1c3927 ("media: i2c: Add driver for Aptina MT9V111")
> >
> > Looks like a false positive, but not something that gcc can easily see.
>
> This must be coming from a new driver merged to media tree recently. Thanks
> for reporting this.

Yeah, sorry, process failure. This should have been reported against
the v4l-dvb tree.

--
Cheers,
Stephen Rothwell

Attachment: pgp2pCrBezL8S.pgp
Description: OpenPGP digital signature