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


Groups > linux.kernel > #1632501

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

From Stephen Rothwell <sfr@canb.auug.org.au>
Newsgroups linux.kernel
Subject linux-next: build warning after merge of the devicetree tree
Date 2017-04-28 04:50 +0200
Message-ID <tB48N-1hm-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

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

csiph-web