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

From: Stephen Rothwell
Date: Sun Jul 29 2018 - 22:01:36 EST


Hi Rafael,

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.

--
Cheers,
Stephen Rothwell

Attachment: pgpMOHCBiqnsL.pgp
Description: OpenPGP digital signature