tree:
https://github.com/rhvgoyal/linux virtiofs-dax-5.8
head: b779919ca8c764c6664523cba2f8dc7fdb4b29d8
commit: ca29952d27ecbcaa6cfb7c34131742aa70eb06cc [13/20] fuse, dax: Implement dax
read/write operations
config: openrisc-randconfig-s031-20200717 (attached as .config)
compiler: or1k-linux-gcc (GCC) 9.3.0
reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.2-49-g707c5017-dirty
git checkout ca29952d27ecbcaa6cfb7c34131742aa70eb06cc
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1
CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=openrisc
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: In function 'iomap_sector':
> include/linux/iomap.h:95:48: error: 'SECTOR_SHIFT'
undeclared (first use in this function); did you mean 'S_DT_SHIFT'?
95
| return (iomap->addr + pos - iomap->offset) >> SECTOR_SHIFT;
| ^~~~~~~~~~~~
| S_DT_SHIFT
include/linux/iomap.h:95:48: note: each undeclared identifier is reported only once for
each function it appears in
At top level:
fs/fuse/file.c:2899:12: warning: 'fuse_dax_mmap' defined but not used
[-Wunused-function]
2899 | static int fuse_dax_mmap(struct file *file, struct vm_area_struct *vma)
| ^~~~~~~~~~~~~
vim +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