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

From: Rob Herring
Date: Wed May 03 2017 - 08:13:08 EST


On Wed, May 3, 2017 at 12:44 AM, Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
> 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?

Sorry, forgot to push out the fix. Now done.

Rob