[dhowells-fs:swap-dio 2/9] fs/exfat/inode.c:503: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

From: kernel test robot
Date: Tue Sep 28 2021 - 17:54:40 EST


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-buildonly-randconfig-r001-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@xxxxxxxxx>

All errors (new ones prefixed by >>):

>> fs/exfat/inode.c:503: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 +503 fs/exfat/inode.c

492
493 static const struct address_space_operations exfat_aops = {
494 .set_page_dirty = __set_page_dirty_buffers,
495 .readpage = exfat_readpage,
496 .readahead = exfat_readahead,
497 .writepage = exfat_writepage,
498 .writepages = exfat_writepages,
499 .write_begin = exfat_write_begin,
500 .write_end = exfat_write_end,
501 .direct_IO = exfat_direct_IO,
502 .bmap = exfat_aop_bmap
> 503 .supports = AS_SUPPORTS_DIRECT_IO,
504 };
505

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

Attachment: .config.gz
Description: application/gzip