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

Stephen Boyd
2019-08-16T18:10:51Z

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.