lkml.org 
[lkml]   [2021]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[allisonhenderson-xfs-work:pptrs_restart129 15/37] fs/xfs/libxfs/xfs_attr.h:33:27: error: 'struct xfs_globals' has no member named 'larp'
tree:   https://github.com/allisonhenderson/xfs_work.git pptrs_restart129
head: f0a0e96bd7e03c467041931dc1b9663111f1d365
commit: 48776e0f1211f8a28fd4945391c26bd0ada2d101 [15/37] xfs: Add larp debug option
config: ia64-defconfig (attached as .config)
compiler: ia64-linux-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/48776e0f1211f8a28fd4945391c26bd0ada2d101
git remote add allisonhenderson-xfs-work https://github.com/allisonhenderson/xfs_work.git
git fetch --no-tags allisonhenderson-xfs-work pptrs_restart129
git checkout 48776e0f1211f8a28fd4945391c26bd0ada2d101
# 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=ia64 SHELL=/bin/bash fs/

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

All errors (new ones prefixed by >>):

In file included from fs/xfs/xfs_trace.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;
| ^
--
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.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@lists.01.org
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2021-10-14 14:02    [W:0.042 / U:46.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site