lkml.org 
[lkml]   [2017]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectlinux-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")

--
Cheers,
Stephen Rothwell

\
 
 \ /
  Last update: 2017-04-28 04:46    [W:0.086 / U:0.736 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site