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

From: Stephen Rothwell
Date: Wed May 03 2017 - 01:44:48 EST


Hi Rob,

On Fri, 28 Apr 2017 12:45:03 +1000 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> After merging the devicetree tree, today's linux-next build (x86_64
> allmodconfig) produced this warning:
>
> drivers/of/unittest.c: In function 'of_unittest':
> drivers/of/unittest.c:2199:25: warning: 'last_sibling' may be used uninitialized in this function [-Wmaybe-uninitialized]
> last_sibling->sibling = overlay_base_root->child;
> ^
> drivers/of/unittest.c:2122:22: note: 'last_sibling' was declared here
> struct device_node *last_sibling;
> ^
>
> Introduced by commit
>
> 81d0848fc8d2 ("of: Add unit tests for applying overlays")

Ping?
--
Cheers,
Stephen Rothwell