Re: linux-next: build warning after merge of the xfs tree

From: Stephen Rothwell
Date: Thu Jan 23 2020 - 21:48:42 EST


Hi all

On Thu, 16 Jan 2020 09:12:42 +1100 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> After merging the xfs tree, today's linux-next build
> (powerpppc64_defconfig) produced this warning:
>
> fs/xfs/xfs_inode.c: In function 'xfs_itruncate_extents_flags':
> fs/xfs/xfs_inode.c:1523:8: warning: unused variable 'done' [-Wunused-variable]
> 1523 | int done = 0;
> | ^~~~
>
> Introduced by commit
>
> 4bbb04abb4ee ("xfs: truncate should remove all blocks, not just to the end of the page cache")

I am still getting this warning.


--
Cheers,
Stephen Rothwell

Attachment: pgpl4CfizFCXf.pgp
Description: OpenPGP digital signature