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

From: Jaegeuk Kim
Date: Wed Mar 03 2021 - 19:17:42 EST


On 03/03, Stephen Rothwell wrote:
> Hi all,
>
> After merging the f2fs tree, today's linux-next build (x86_64
> allmodconfig) produced this warning:
>
> fs/f2fs/sysfs.c:576:25: warning: 'f2fs_attr_ovp_segments' defined but not used [-Wunused-variable]
> 576 | static struct f2fs_attr f2fs_attr_##name = __ATTR(name, 0444, name##_show, NULL)
> | ^~~~~~~~~~
> fs/f2fs/sysfs.c:639:1: note: in expansion of macro 'F2FS_GENERAL_RO_ATTR'
> 639 | F2FS_GENERAL_RO_ATTR(ovp_segments);
> | ^~~~~~~~~~~~~~~~~~~~
>
> Introduced by commit
>
> 10e0b8ef8715 ("f2fs: expose # of overprivision segments")

Thanks. Should be fixed soon.

>
> --
> Cheers,
> Stephen Rothwell