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

From: Stephen Boyd
Date: Fri Aug 16 2019 - 14:10:52 EST


Quoting Stephen Rothwell (2019-08-15 16:57:32)
> Hi all,
>
> After merging the clk tree, today's linux-next build (x86_64 allmodconfig)
> produced this warning:
>
> drivers/clk/actions/owl-common.c: In function 'owl_clk_probe':
> drivers/clk/actions/owl-common.c:71:24: warning: 'hw' may be used uninitialized in this function [-Wmaybe-uninitialized]
> const char *name = hw->init->name;
> ~~^~~~~~
>
> Introduced by commit
>
> 20cac6d02815 ("clk: actions: Don't reference clk_init_data after registration")
>
> Clearly not a false positive. :-(
>

Thanks. I fixed it now.