tree:
https://github.com/rhvgoyal/linux virtiofs-dax-5.8
head: b779919ca8c764c6664523cba2f8dc7fdb4b29d8
commit: ca29952d27ecbcaa6cfb7c34131742aa70eb06cc [13/20] fuse, dax: Implement dax
read/write operations
config: s390-randconfig-r022-20200717 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
ed6b578040a85977026c93bf4188f996148f3218)
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
# install s390 cross compiling tool for clang build
# apt-get install binutils-s390x-linux-gnu
git checkout ca29952d27ecbcaa6cfb7c34131742aa70eb06cc
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=s390
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from fs/fuse/file.c:22:
> include/linux/iomap.h:95:48: error: use of undeclared identifier
'SECTOR_SHIFT'
return (iomap->addr + pos - iomap->offset)
>> SECTOR_SHIFT;
^
1 error generated.
vim +/SECTOR_SHIFT +95 include/linux/iomap.h
63899c6f8851c3 Christoph Hellwig 2018-06-19 91
db074436f42196 Darrick J. Wong 2019-07-15 92 static inline sector_t
db074436f42196 Darrick J. Wong 2019-07-15 93 iomap_sector(struct iomap *iomap, loff_t
pos)
db074436f42196 Darrick J. Wong 2019-07-15 94 {
db074436f42196 Darrick J. Wong 2019-07-15 @95 return (iomap->addr + pos -
iomap->offset) >> SECTOR_SHIFT;
db074436f42196 Darrick J. Wong 2019-07-15 96 }
db074436f42196 Darrick J. Wong 2019-07-15 97
:::::: The code at line 95 was first introduced by commit
:::::: db074436f421967f4f30cfbb6fbc2a728f3e62b3 iomap: move the direct IO code into a
separate file
:::::: TO: Darrick J. Wong <darrick.wong(a)oracle.com>
:::::: CC: Darrick J. Wong <darrick.wong(a)oracle.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org