Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 3 participants 4 messages Jun 30, 2017 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Linus,

After merging the pinctrl tree, today's linux-next build (x86_64 allmodconfig) produced this warning:

drivers/pinctrl/pinctrl-rza1.c: In function 'rza1_pinctrl_probe':
drivers/pinctrl/pinctrl-rza1.c:1260:5: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (ret)

     ^

Introduced by commit

5a49b644b307 ("pinctrl: Renesas RZ/A1 pin and gpio controller")

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

Hi all,

[Just adding cc's]

Quoted 12 lines · On Fri, 30 Jun 2017 14:56:01 +1000 Stephen Rothwell <[email protected]>…

After merging the pinctrl tree, today's linux-next build (x86_64 allmodconfig) produced this warning:

drivers/pinctrl/pinctrl-rza1.c: In function 'rza1_pinctrl_probe':
drivers/pinctrl/pinctrl-rza1.c:1260:5: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (ret)

     ^

Introduced by commit

5a49b644b307 ("pinctrl: Renesas RZ/A1 pin and gpio controller")

Signature · 2 lines
Cheers,
Stephen Rothwell
#2 lore raw
In reply to Stephen Rothwell

Hi Stephen,

Quoted 11 lines · Stephen Rothwell

After merging the pinctrl tree, today's linux-next build (x86_64 allmodconfig) produced this warning:

drivers/pinctrl/pinctrl-rza1.c: In function 'rza1_pinctrl_probe':
drivers/pinctrl/pinctrl-rza1.c:1260:5: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (ret)

     ^

Introduced by commit

5a49b644b307 ("pinctrl: Renesas RZ/A1 pin and gpio controller")

Doh, 0day doesn't use compilers that report uninitialized variables? Patch sent.

Thanks for reporting!

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

#3 lore raw
Quoted 9 lines · Geert Uytterhoeven
Quoted 8 lines · Stephen Rothwell

After merging the pinctrl tree, today's linux-next build (x86_64 allmodconfig) produced this warning:

drivers/pinctrl/pinctrl-rza1.c: In function 'rza1_pinctrl_probe':
drivers/pinctrl/pinctrl-rza1.c:1260:5: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (ret)

     ^
Quoted 5 lines
Quoted 3 lines

Introduced by commit

5a49b644b307 ("pinctrl: Renesas RZ/A1 pin and gpio controller")

Doh, 0day doesn't use compilers that report uninitialized variables?

The real problem is that 0day is not working right now.

I only get timeouts from it for the moment.

Yours,
Linus Walleij