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

From: Stephen Rothwell
Date: Thu Aug 15 2019 - 19:57:38 EST


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. :-(

--
Cheers,
Stephen Rothwell

Attachment: pgpAb5L92itpY.pgp
Description: OpenPGP digital signature