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


Groups > linux.kernel > #1671259 > unrolled thread

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

Started byStephen Rothwell <sfr@canb.auug.org.au>
First post2017-06-21 02:40 +0200
Last post2017-06-21 09:20 +0200
Articles 2 — 1 participant

Back to article view | Back to linux.kernel


Contents

  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

#1671259 — linux-next: build warning after merge of the file-locks tree

FromStephen Rothwell <sfr@canb.auug.org.au>
Date2017-06-21 02:40 +0200
Subjectlinux-next: build warning after merge of the file-locks tree
Message-ID<tUBQB-7gk-1@gated-at.bofh.it>
Hi Jeff,

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()")

-- 
Cheers,
Stephen Rothwell

[toc] | [next] | [standalone]


#1671428

FromStephen Rothwell <sfr@canb.auug.org.au>
Date2017-06-21 09:20 +0200
Message-ID<tUI5J-31b-37@gated-at.bofh.it>
In reply to#1671259
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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web