lkml.org 
[lkml]   [2021]   [Dec]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[djwong-xfs:vectorized-scrub 100/326] fs/xfs/scrub/trace.c:48:24: error: dereferencing pointer to incomplete type 'struct xfbtree'
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git vectorized-scrub
head: f736db09eb704761df6d6534ed9730f38bf136d1
commit: 9bcb3cf01fbbfe96671d56248b516b0a68c5c022 [100/326] xfs: connect in-memory btrees to xfiles
config: i386-randconfig-m021-20211229 (https://download.01.org/0day-ci/archive/20211229/202112291219.H4IqiT4G-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git/commit/?id=9bcb3cf01fbbfe96671d56248b516b0a68c5c022
git remote add djwong-xfs https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git
git fetch --no-tags djwong-xfs vectorized-scrub
git checkout 9bcb3cf01fbbfe96671d56248b516b0a68c5c022
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash fs/xfs/

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

fs/xfs/scrub/trace.c: In function 'xfbtree_ino':
>> fs/xfs/scrub/trace.c:48:24: error: dereferencing pointer to incomplete type 'struct xfbtree'
48 | return file_inode(xfbt->target->bt_xfile->file)->i_ino;
| ^~


vim +48 fs/xfs/scrub/trace.c

43
44 static inline unsigned long
45 xfbtree_ino(
46 struct xfbtree *xfbt)
47 {
> 48 return file_inode(xfbt->target->bt_xfile->file)->i_ino;
49 }
50

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

\
 
 \ /
  Last update: 2021-12-29 05:47    [W:0.039 / U:2.840 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site