linux-next: build warning after merge of the devicetree tree
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")
Signature · 2 lines
Cheers, Stephen Rothwell
Hi Rob,
Quoted 12 lines · On Fri, 28 Apr 2017 12:45:03 +1000 Stephen Rothwell <[email protected]>…
After merging the devicetree tree, today's linux-next build (
x86_64allmodconfig) 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; ^
Quoted 3 lines
Introduced by commit
81d0848fc8d2("of: Add unit tests for applying overlays")
Ping?
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 15 lines · Stephen Rothwell
Hi Rob,
Quoted 12 lines · On Fri, 28 Apr 2017 12:45:03 +1000 Stephen Rothwell <[email protected]>…
After merging the devicetree tree, today's linux-next build (
x86_64allmodconfig) 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; ^
Quoted 5 lines
Quoted 3 lines
Introduced by commit
81d0848fc8d2("of: Add unit tests for applying overlays")Ping?
Sorry, forgot to push out the fix. Now done.
Rob
Hi Rob,
Quoted 2 lines · On Wed, 3 May 2017 07:12:27 -0500 Rob Herring <[email protected]> wrote:
Sorry, forgot to push out the fix. Now done.
Thanks.
Signature · 2 lines
Cheers, Stephen Rothwell