[dhowells-fs:swap-dio 2/9] fs/affs/file.c:463:9: error: request for member 'supports' in something not a structure or union

From: kernel test robot
Date: Thu Sep 30 2021 - 09:42:33 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git swap-dio
head: a65f2f4fe575e2069276795af46f962dd4559edf
commit: b52bb021e191a322c2ade3a5f83e658932bef2bf [2/9] mm: Add 'supports' field to the address_space_operations to list features
config: s390-allyesconfig (attached as .config)
compiler: s390-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=b52bb021e191a322c2ade3a5f83e658932bef2bf
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 b52bb021e191a322c2ade3a5f83e658932bef2bf
# 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=s390 SHELL=/bin/bash

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/affs/file.c:463:9: error: request for member 'supports' in something not a structure or union
463 | .supports = AS_SUPPORTS_DIRECT_IO,
| ^


vim +/supports +463 fs/affs/file.c

454
455 const struct address_space_operations affs_aops = {
456 .set_page_dirty = __set_page_dirty_buffers,
457 .readpage = affs_readpage,
458 .writepage = affs_writepage,
459 .write_begin = affs_write_begin,
460 .write_end = affs_write_end,
461 .direct_IO = affs_direct_IO,
462 .bmap = _affs_bmap
> 463 .supports = AS_SUPPORTS_DIRECT_IO,
464 };
465

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

Attachment: .config.gz
Description: application/gzip