linux-next: build warning after merge of the akpm-current tree
From: Stephen Rothwell
Date: Thu May 25 2017 - 22:43:43 EST
Hi Andrew,
After merging the akpm-current 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
f8652aebee02 ("mm: drop "wait" parameter from write_one_page()")
These call sites were updated for the droppping of the argument, but
not for the addition of __must_check :-(
--
Cheers,
Stephen Rothwell