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


Groups > linux.kernel > #1643695 > unrolled thread

linux-next: build warning after merge of the btrfs-kdave tree

Started byStephen Rothwell <sfr@canb.auug.org.au>
First post2017-05-18 01:50 +0200
Last post2017-05-18 15:00 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  linux-next: build warning after merge of the btrfs-kdave tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-05-18 01:50 +0200
    Re: linux-next: build warning after merge of the btrfs-kdave tree David Sterba <dsterba@suse.cz> - 2017-05-18 15:00 +0200

#1643695 — linux-next: build warning after merge of the btrfs-kdave tree

FromStephen Rothwell <sfr@canb.auug.org.au>
Date2017-05-18 01:50 +0200
Subjectlinux-next: build warning after merge of the btrfs-kdave tree
Message-ID<tIgRz-1ml-1@gated-at.bofh.it>
Hi David,

After merging the btrfs-kdave tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

fs/btrfs/inode.c: In function 'btrfs_submit_direct':
fs/btrfs/inode.c:8467:14: warning: 'bio' may be used uninitialized in this function [-Wmaybe-uninitialized]
  struct bio *bio;
              ^

I can't tell if it is a false positive or not.

-- 
Cheers,
Stephen Rothwell

[toc] | [next] | [standalone]


#1644458

FromDavid Sterba <dsterba@suse.cz>
Date2017-05-18 15:00 +0200
Message-ID<tItc6-2GL-21@gated-at.bofh.it>
In reply to#1643695
On Thu, May 18, 2017 at 09:41:46AM +1000, Stephen Rothwell wrote:
> Hi David,
> 
> After merging the btrfs-kdave tree, today's linux-next build (powerpc
> ppc64_defconfig) produced this warning:
> 
> fs/btrfs/inode.c: In function 'btrfs_submit_direct':
> fs/btrfs/inode.c:8467:14: warning: 'bio' may be used uninitialized in this function [-Wmaybe-uninitialized]
>   struct bio *bio;
>               ^
> 
> I can't tell if it is a false positive or not.

It seems to be a false positive. Patch updated and will be part of the
next for-next.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web