* linux-next: build warning after merge of the file-locks tree
@ 2017-06-21 0:30 Stephen Rothwell
0 siblings, 0 replies; 3+ messages in thread
From: Stephen Rothwell @ 2017-06-21 0:30 UTC (permalink / raw)
To: Jeff Layton; +Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Jan Kara
Hi Jeff,
After merging the file-locks tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:
mm/page-writeback.c: In function 'write_one_page':
mm/page-writeback.c:2380:15: warning: unused variable 'ret2' [-Wunused-variable]
int ret = 0, ret2;
^
Introduced by commit
4118ba44fa2c ("mm: clean up error handling in write_one_page")
--
Cheers,
Stephen Rothwell
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: linux-next: build warning after merge of the file-locks tree
2017-06-21 0:30 Stephen Rothwell
@ 2017-06-21 7:11 ` Stephen Rothwell
0 siblings, 0 replies; 3+ messages in thread
From: Stephen Rothwell @ 2017-06-21 7:11 UTC (permalink / raw)
To: Jeff Layton
Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Ross Zwisler,
Jan Kara, Matthew Wilcox, Christoph Hellwig, Andrew Morton
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* linux-next: build warning after merge of the file-locks tree
@ 2017-06-21 0:30 Stephen Rothwell
2017-06-21 7:11 ` Stephen Rothwell
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Rothwell @ 2017-06-21 0:30 UTC (permalink / raw)
To: Jeff Layton
Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Ross Zwisler,
Jan Kara, Matthew Wilcox, Christoph Hellwig, Andrew Morton
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-06-21 7:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-21 0:30 linux-next: build warning after merge of the file-locks tree Stephen Rothwell
2017-06-21 0:30 Stephen Rothwell
2017-06-21 7:11 ` Stephen Rothwell
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.