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

From: Stephen Rothwell
Date: Tue Mar 02 2021 - 18:41:23 EST


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")

--
Cheers,
Stephen Rothwell

Attachment: pgpC9qk3OjwJu.pgp
Description: OpenPGP digital signature