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

From: Stephen Rothwell <[email-masked]>
Date: Wed, 21 Jun 2017 17:11:19 +1000

Hi Jeff,

On Wed, 21 Jun 2017 10:30:52 +1000 Stephen Rothwell <[email-masked]> 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