[allisonhenderson-xfs_work:delayed_attrs_v24_extended 9/27] fs/xfs/libxfs/xfs_attr.h:33:27: error: 'struct xfs_globals' has no member named 'larp'

From: kernel test robot
Date: Tue Aug 24 2021 - 23:39:38 EST


tree: https://github.com/allisonhenderson/xfs_work.git delayed_attrs_v24_extended
head: 65b46be2f965591671441cfd63f02f38befbec24
commit: f45836b915b379dc005c4fd00e301f3195d08ccd [9/27] xfs: Add larp debug option
config: arm-buildonly-randconfig-r002-20210824 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/allisonhenderson/xfs_work/commit/f45836b915b379dc005c4fd00e301f3195d08ccd
git remote add allisonhenderson-xfs_work https://github.com/allisonhenderson/xfs_work.git
git fetch --no-tags allisonhenderson-xfs_work delayed_attrs_v24_extended
git checkout f45836b915b379dc005c4fd00e301f3195d08ccd
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

In file included from fs/xfs/xfs_attr_list.c:19:
fs/xfs/libxfs/xfs_attr.h: In function 'xfs_has_larp':
>> fs/xfs/libxfs/xfs_attr.h:33:27: error: 'struct xfs_globals' has no member named 'larp'
33 | return xfs_globals.larp;
| ^
--
In file included from fs/xfs/libxfs/xfs_attr.c:21:
fs/xfs/libxfs/xfs_attr.h: In function 'xfs_has_larp':
>> fs/xfs/libxfs/xfs_attr.h:33:27: error: 'struct xfs_globals' has no member named 'larp'
33 | return xfs_globals.larp;
| ^
fs/xfs/libxfs/xfs_attr.c: In function 'xfs_attr_set_iter':
fs/xfs/libxfs/xfs_attr.c:425:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
425 | if (!xfs_has_larp(mp)) {
| ^
fs/xfs/libxfs/xfs_attr.c:440:9: note: here
440 | case XFS_DAS_FLIP_LFLAG:
| ^~~~
fs/xfs/libxfs/xfs_attr.c:542:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
542 | if (!xfs_has_larp(mp)) {
| ^
fs/xfs/libxfs/xfs_attr.c:557:9: note: here
557 | case XFS_DAS_FLIP_NFLAG:
| ^~~~
In file included from fs/xfs/libxfs/xfs_attr.c:21:
fs/xfs/libxfs/xfs_attr.h: In function 'xfs_has_larp':
fs/xfs/libxfs/xfs_attr.h:34:1: error: control reaches end of non-void function [-Werror=return-type]
34 | }
| ^
cc1: some warnings being treated as errors
--
In file included from fs/xfs/libxfs/xfs_attr_leaf.c:22:
fs/xfs/libxfs/xfs_attr.h: In function 'xfs_has_larp':
>> fs/xfs/libxfs/xfs_attr.h:33:27: error: 'struct xfs_globals' has no member named 'larp'
33 | return xfs_globals.larp;
| ^
fs/xfs/libxfs/xfs_attr.h:34:1: error: control reaches end of non-void function [-Werror=return-type]
34 | }
| ^
cc1: some warnings being treated as errors


vim +33 fs/xfs/libxfs/xfs_attr.h

30
31 static inline bool xfs_has_larp(struct xfs_mount *mp)
32 {
> 33 return xfs_globals.larp;
34 }
35

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip