tree:
https://git.kernel.org/pub/scm/linux/kernel/git/jth/linux.git btrfs-integrity
head: 178abf17d0aba23b45096ce15ff41bf56f01340b
commit: 2706df932e9847b14a2a0592fedad8b8c4a11077 [2/6] btrfs: add authentication support
config: x86_64-kexec (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
#
https://git.kernel.org/pub/scm/linux/kernel/git/jth/linux.git/commit/?id=...
git remote add jth
https://git.kernel.org/pub/scm/linux/kernel/git/jth/linux.git
git fetch --no-tags jth btrfs-integrity
git checkout 2706df932e9847b14a2a0592fedad8b8c4a11077
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from fs/btrfs/inode.c:36:
fs/btrfs/inode.c: In function 'btrfs_swap_activate':
> fs/btrfs/ctree.h:1373:7: error: 'BTRFS_MOUNT_AUTH_HASH'
undeclared (first use in this function); did you mean 'BTRFS_MOUNT_AUTH_KEY'?
1373 | BTRFS_MOUNT_##opt)
| ^~~~~~~~~~~~
fs/btrfs/inode.c:10062:6: note: in expansion of macro 'btrfs_test_opt'
10062 | if (btrfs_test_opt(fs_info, AUTH_HASH)) {
| ^~~~~~~~~~~~~~
fs/btrfs/ctree.h:1373:7: note: each undeclared identifier is reported only once for
each function it appears in
1373 | BTRFS_MOUNT_##opt)
| ^~~~~~~~~~~~
fs/btrfs/inode.c:10062:6: note: in expansion of macro 'btrfs_test_opt'
10062 | if (btrfs_test_opt(fs_info, AUTH_HASH)) {
| ^~~~~~~~~~~~~~
vim +1373 fs/btrfs/ctree.h
8b87dc17fbc7443 David Sterba 2013-08-01 1368
b6cda9bcb4df754 Chris Mason 2007-12-14 1369 #define btrfs_clear_opt(o, opt) ((o)
&= ~BTRFS_MOUNT_##opt)
b6cda9bcb4df754 Chris Mason 2007-12-14 1370 #define btrfs_set_opt(o, opt) ((o) |=
BTRFS_MOUNT_##opt)
dc81cdc58ad2f41 Miao Xie 2013-02-20 1371 #define btrfs_raw_test_opt(o, opt) ((o)
& BTRFS_MOUNT_##opt)
3cdde2240d4533f Jeff Mahoney 2016-06-09 1372 #define btrfs_test_opt(fs_info,
opt) ((fs_info)->mount_opt & \
b6cda9bcb4df754 Chris Mason 2007-12-14 @1373 BTRFS_MOUNT_##opt)
572d9ab7845ea0e David Sterba 2014-02-05 1374
:::::: The code at line 1373 was first introduced by commit
:::::: b6cda9bcb4df7544c67fc3548a53bc1607d59f46 Btrfs: Add mount -o nodatasum to turn of
file data checksumming
:::::: TO: Chris Mason <chris.mason(a)oracle.com>
:::::: CC: Chris Mason <chris.mason(a)oracle.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org