tree: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git netfs-folio-regions head: 215a4ee495a95cc73256ed76f91cb78bcabd6b8e commit: 9a65a2d5943a07874ad5431d9bf677b5bdc7b682 [12/28] netfs: Add a netfs inode context config: sh-allmodconfig (attached as .config) compiler: sh4-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://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/commit/?id=9a65a2d5943a07874ad5431d9bf677b5bdc7b682 git remote add dhowells-fs https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git git fetch --no-tags dhowells-fs netfs-folio-regions git checkout 9a65a2d5943a07874ad5431d9bf677b5bdc7b682 # 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=sh SHELL=/bin/bash fs/afs/ fs/netfs/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from fs/afs/cache.c:9: fs/afs/internal.h: In function 'afs_vnode_cache': >> fs/afs/internal.h:671:32: error: 'struct netfs_i_context' has no member named 'cache' 671 | return vnode->netfs_ctx.cache; | ^ fs/afs/internal.h: In function 'afs_vnode_set_cache': fs/afs/internal.h:681:25: error: 'struct netfs_i_context' has no member named 'cache' 681 | vnode->netfs_ctx.cache = cookie; | ^ -- In file included from fs/afs/file.c:18: fs/afs/internal.h: In function 'afs_vnode_cache': >> fs/afs/internal.h:671:32: error: 'struct netfs_i_context' has no member named 'cache' 671 | return vnode->netfs_ctx.cache; | ^ fs/afs/internal.h: In function 'afs_vnode_set_cache': fs/afs/internal.h:681:25: error: 'struct netfs_i_context' has no member named 'cache' 681 | vnode->netfs_ctx.cache = cookie; | ^ fs/afs/internal.h: In function 'afs_vnode_cache': fs/afs/internal.h:675:1: error: control reaches end of non-void function [-Werror=return-type] 675 | } | ^ cc1: some warnings being treated as errors -- In file included from fs/afs/inode.c:25: fs/afs/internal.h: In function 'afs_vnode_cache': >> fs/afs/internal.h:671:32: error: 'struct netfs_i_context' has no member named 'cache' 671 | return vnode->netfs_ctx.cache; | ^ fs/afs/internal.h: In function 'afs_vnode_set_cache': fs/afs/internal.h:681:25: error: 'struct netfs_i_context' has no member named 'cache' 681 | vnode->netfs_ctx.cache = cookie; | ^ fs/afs/inode.c: In function 'afs_get_inode_cache': >> fs/afs/inode.c:433:33: error: 'struct netfs_i_context' has no member named 'cache' 433 | vnode->netfs_ctx.cache = NULL; | ^ In file included from fs/afs/inode.c:25: fs/afs/internal.h: In function 'afs_vnode_cache': fs/afs/internal.h:675:1: error: control reaches end of non-void function [-Werror=return-type] 675 | } | ^ cc1: some warnings being treated as errors Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for SND_ATMEL_SOC_PDC Depends on SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC && HAS_DMA Selected by - SND_ATMEL_SOC_SSC && SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC - SND_ATMEL_SOC_SSC_PDC && SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC && ATMEL_SSC vim +671 fs/afs/internal.h 667 668 static inline struct fscache_cookie *afs_vnode_cache(struct afs_vnode *vnode) 669 { 670 #ifdef CONFIG_AFS_FSCACHE > 671 return vnode->netfs_ctx.cache; 672 #else 673 return NULL; 674 #endif 675 } 676 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org