linux-next: build warning after merge of the btrfs tree
Hi all,
After merging the btrfs tree, today's linux-next build (powerpc ppc64_defconfig) produced this warning:
fs/btrfs/volumes.c: In function 'btrfs_scratch_superblocks':fs/btrfs/volumes.c:7338:3: warning: ignoring return value of 'write_one_page', declared with attribute warn_unused_result [-Wunused-result]
7338 | write_one_page(page);
| ^~~~~~~~~~~~~~~~~~~~Introduced by commit
d19ec014a46b ("btrfs: use the page-cache for super block reading")
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 5 lines · Stephen Rothwell
Hi all,
After merging the btrfs tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:
Quoted 8 lines
fs/btrfs/volumes.c: In function 'btrfs_scratch_superblocks':fs/btrfs/volumes.c:7338:3: warning: ignoring return value of 'write_one_page', declared with attributewarn_unused_result[-Wunused-result]7338 | write_one_page(page); | ^~~~~~~~~~~~~~~~~~~~Introduced by commit
d19ec014a46b("btrfs: use the page-cache for super block reading")
Known and fix is in the patchset revision that will be in the next for-next branch update. Thanks.
Hi David,
Quoted 11 lines · On Wed, 12 Feb 2020 17:03:41 +0100 David Sterba <[email protected]> wrote:
Quoted 9 lines · Stephen Rothwell
After merging the btrfs tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:
fs/btrfs/volumes.c: In function 'btrfs_scratch_superblocks':fs/btrfs/volumes.c:7338:3: warning: ignoring return value of 'write_one_page', declared with attributewarn_unused_result[-Wunused-result]7338 | write_one_page(page); | ^~~~~~~~~~~~~~~~~~~~
Quoted 6 lines
Quoted 3 lines
Introduced by commit
d19ec014a46b("btrfs: use the page-cache for super block reading")Known and fix is in the patchset revision that will be in the next for-next branch update. Thanks.
I am still getting that warning.
Signature · 2 lines
Cheers, Stephen Rothwell