public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [dhowells-fs:swap-dio 2/9] fs/fat/inode.c:354:2: error: member reference base type 'sector_t (struct address_space *, sector_t)' (aka 'unsigned long long (struct address_space *, unsigned long long)') is not a structure or union
@ 2021-09-28 21:43 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-09-28 21:43 UTC (permalink / raw)
  To: David Howells; +Cc: llvm, kbuild-all, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 2161 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git swap-dio
head:   705b6cfdaad1c83615b91f81a59c946ccba5fb5f
commit: d4af67cd798d2b9a628bd685d6a8ce16592af48b [2/9] mm: Add 'supports' field to the address_space_operations to list features
config: hexagon-randconfig-r045-20210928 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project dc6e8dfdfe7efecfda318d43a06fae18b40eb498)
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=d4af67cd798d2b9a628bd685d6a8ce16592af48b
        git remote add dhowells-fs https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git
        git fetch --no-tags dhowells-fs swap-dio
        git checkout d4af67cd798d2b9a628bd685d6a8ce16592af48b
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=hexagon 

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/fat/inode.c:354:2: error: member reference base type 'sector_t (struct address_space *, sector_t)' (aka 'unsigned long long (struct address_space *, unsigned long long)') is not a structure or union
           .supports       = AS_SUPPORTS_DIRECT_IO,
           ^~~~~~~~~
   1 error generated.


vim +354 fs/fat/inode.c

   343	
   344	static const struct address_space_operations fat_aops = {
   345		.set_page_dirty	= __set_page_dirty_buffers,
   346		.readpage	= fat_readpage,
   347		.readahead	= fat_readahead,
   348		.writepage	= fat_writepage,
   349		.writepages	= fat_writepages,
   350		.write_begin	= fat_write_begin,
   351		.write_end	= fat_write_end,
   352		.direct_IO	= fat_direct_IO,
   353		.bmap		= _fat_bmap
 > 354		.supports	= AS_SUPPORTS_DIRECT_IO,
   355	};
   356	

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 23725 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-28 21:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-28 21:43 [dhowells-fs:swap-dio 2/9] fs/fat/inode.c:354:2: error: member reference base type 'sector_t (struct address_space *, sector_t)' (aka 'unsigned long long (struct address_space *, unsigned long long)') is not a structure or union kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox