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


Groups > linux.kernel > #1578058 > unrolled thread

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

Started byStephen Rothwell <sfr@canb.auug.org.au>
First post2017-02-10 01:00 +0100
Last post2017-02-10 01:30 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  linux-next: build warning after merge of the f2fs tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-02-10 01:00 +0100
    Re: linux-next: build warning after merge of the f2fs tree Jaegeuk Kim <jaegeuk@kernel.org> - 2017-02-10 01:30 +0100

#1578058 — linux-next: build warning after merge of the f2fs tree

FromStephen Rothwell <sfr@canb.auug.org.au>
Date2017-02-10 01:00 +0100
Subjectlinux-next: build warning after merge of the f2fs tree
Message-ID<t96N4-4gQ-21@gated-at.bofh.it>
Hi Jaegeuk,

After merging the f2fs tree, today's linux-next build
(x86_64_allmodconfig) produced this warning:

fs/f2fs/node.c: In function 'fsync_node_pages':
fs/f2fs/node.c:1520:3: warning: 'last_idx' may be used uninitialized in this function [-Wmaybe-uninitialized]
   f2fs_submit_merged_bio_cond(sbi, NULL, ino, last_idx,
   ^

Introduced by commit

  9563642a6ec2 ("f2fs: check last page index in cached bio to decide submission")

-- 
Cheers,
Stephen Rothwell

[toc] | [next] | [standalone]


#1578072

FromJaegeuk Kim <jaegeuk@kernel.org>
Date2017-02-10 01:30 +0100
Message-ID<t97g6-4FJ-5@gated-at.bofh.it>
In reply to#1578058
Thank you.
Worked around that in the dev branch.

On 02/10, Stephen Rothwell wrote:
> Hi Jaegeuk,
> 
> After merging the f2fs tree, today's linux-next build
> (x86_64_allmodconfig) produced this warning:
> 
> fs/f2fs/node.c: In function 'fsync_node_pages':
> fs/f2fs/node.c:1520:3: warning: 'last_idx' may be used uninitialized in this function [-Wmaybe-uninitialized]
>    f2fs_submit_merged_bio_cond(sbi, NULL, ino, last_idx,
>    ^
> 
> Introduced by commit
> 
>   9563642a6ec2 ("f2fs: check last page index in cached bio to decide submission")
> 
> -- 
> Cheers,
> Stephen Rothwell

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web