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

From: Stephen Rothwell
Date: Fri Jun 30 2017 - 00:57:21 EST


Hi all,

[Just adding cc's]

On Fri, 30 Jun 2017 14:56:01 +1000 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> 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")

--
Cheers,
Stephen Rothwell