Skip to contentSkip to conversation

linux-next: build warning after merge of the btrfs tree

DISCUSSION Stephen Rothwell 2 participants 3 messages Feb 11, 2020 – Feb 20, 2020 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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
#1 lore raw
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 attribute warn_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.

#2 lore raw

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 attribute warn_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