Thread (4 messages) 4 messages, 3 authors, 2017-06-30

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

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2017-06-30 06:59:41
Also in: lkml

Hi Stephen,

On Fri, Jun 30, 2017 at 6:56 AM, Stephen Rothwell [off-list ref] wrote:
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 -- geert@linux-m68k.org

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help