lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202108200024.3hSizDut-lkp@intel.com>
Date:   Fri, 20 Aug 2021 00:10:31 +0800
From:   kernel test robot <lkp@...el.com>
To:     David Howells <dhowells@...hat.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [dhowells-fs:netfs-folio-regions 12/28] fs/afs/internal.h:671:32:
 error: 'struct netfs_i_context' has no member named 'cache'

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 <lkp@...el.com>

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

Download attachment ".config.gz" of type "application/gzip" (55014 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ