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

From: David Sterba
Date: Thu May 18 2017 - 08:51:05 EST


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.