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

From: Stephen Rothwell <[email-masked]>
Date: Wed, 3 Mar 2021 09:23:51 +1100

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