Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1632501 > unrolled thread

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

Started byStephen Rothwell <sfr@canb.auug.org.au>
First post2017-04-28 04:50 +0200
Last post2017-05-03 14:50 +0200
Articles 4 — 2 participants

Back to article view | Back to linux.kernel


Contents

  linux-next: build warning after merge of the devicetree tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-04-28 04:50 +0200
    Re: linux-next: build warning after merge of the devicetree tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-05-03 07:50 +0200
      Re: linux-next: build warning after merge of the devicetree tree Rob Herring <robherring2@gmail.com> - 2017-05-03 14:20 +0200
        Re: linux-next: build warning after merge of the devicetree tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-05-03 14:50 +0200

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

FromStephen Rothwell <sfr@canb.auug.org.au>
Date2017-04-28 04:50 +0200
Subjectlinux-next: build warning after merge of the devicetree tree
Message-ID<tB48N-1hm-1@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#1634756

FromStephen Rothwell <sfr@canb.auug.org.au>
Date2017-05-03 07:50 +0200
Message-ID<tCVkK-xt-1@gated-at.bofh.it>
In reply to#1632501
Hi Rob,

On Fri, 28 Apr 2017 12:45:03 +1000 Stephen Rothwell <sfr@canb.auug.org.au> 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

[toc] | [prev] | [next] | [standalone]


#1634939

FromRob Herring <robherring2@gmail.com>
Date2017-05-03 14:20 +0200
Message-ID<tD1qa-5fK-23@gated-at.bofh.it>
In reply to#1634756
On Wed, May 3, 2017 at 12:44 AM, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> Hi Rob,
>
> On Fri, 28 Apr 2017 12:45:03 +1000 Stephen Rothwell <sfr@canb.auug.org.au> 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

[toc] | [prev] | [next] | [standalone]


#1634957

FromStephen Rothwell <sfr@canb.auug.org.au>
Date2017-05-03 14:50 +0200
Message-ID<tD1Tc-5s5-7@gated-at.bofh.it>
In reply to#1634939
Hi Rob,

On Wed, 3 May 2017 07:12:27 -0500 Rob Herring <robherring2@gmail.com> wrote:
>
> Sorry, forgot to push out the fix. Now done.

Thanks.

-- 
Cheers,
Stephen Rothwell

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web