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


Groups > linux.kernel > #1671428

Re: linux-next: build warning after merge of the file-locks tree

From Stephen Rothwell <sfr@canb.auug.org.au>
Newsgroups linux.kernel
Subject Re: linux-next: build warning after merge of the file-locks tree
Date 2017-06-21 09:20 +0200
Message-ID <tUI5J-31b-37@gated-at.bofh.it> (permalink)
References <tUBQB-7gk-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Jeff,

On Wed, 21 Jun 2017 10:30:52 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> After merging the file-locks tree, today's linux-next build (powerpc
> ppc64_defconfig) produced this warning:
> 
> fs/jfs/jfs_metapage.c: In function 'force_metapage':
> fs/jfs/jfs_metapage.c:714:2: warning: ignoring return value of 'write_one_page', declared with attribute warn_unused_result [-Wunused-result]
>   write_one_page(page);
>   ^
> fs/jfs/jfs_metapage.c: In function 'release_metapage':
> fs/jfs/jfs_metapage.c:759:4: warning: ignoring return value of 'write_one_page', declared with attribute warn_unused_result [-Wunused-result]
>     write_one_page(page);
>     ^
> 
> Introduced by commit
> 
>   ee6b2b8e0a8f ("mm: drop "wait" parameter from write_one_page()")

This is fixed up by commit

  f0423ddc1cf6 ("JFS: do not ignore return code from write_one_page()")

in the akpm-current tree.

-- 
Cheers,
Stephen Rothwell

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


Thread

linux-next: build warning after merge of the file-locks tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-06-21 02:40 +0200
  Re: linux-next: build warning after merge of the file-locks tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-06-21 09:20 +0200

csiph-web