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

From: Stephen Rothwell
Date: Thu Apr 27 2017 - 22:46:38 EST


Hi Rob,

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")

--
Cheers,
Stephen Rothwell