Re: [PATCH v4 3/3] fs, xfs: introduce MAP_DIRECT for creating block-map-sealed file ranges

From: kbuild test robot
Date: Thu Aug 17 2017 - 04:50:50 EST


Hi Dan,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.13-rc5 next-20170816]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Dan-Williams/fs-xfs-introduce-S_IOMAP_SEALED/20170817-114711
config: xtensa-allmodconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=xtensa

All error/warnings (new ones prefixed by >>):

mm/mmap.c: In function 'do_mmap':
mm/mmap.c:1391:8: error: 'MAP_VALIDATE' undeclared (first use in this function)
case MAP_VALIDATE:
^
mm/mmap.c:1391:8: note: each undeclared identifier is reported only once for each function it appears in
In file included from mm/mmap.c:17:0:
>> include/linux/mman.h:11:29: error: 'MAP_DIRECT' undeclared (first use in this function)
#define MAP_SUPPORTED_MASK (MAP_DIRECT)
^
>> mm/mmap.c:1392:18: note: in expansion of macro 'MAP_SUPPORTED_MASK'
if (flags & ~(MAP_SUPPORTED_MASK | MAP_VALIDATE))
^

vim +/MAP_DIRECT +11 include/linux/mman.h

9
10 /* the MAP_VALIDATE set of supported flags */
> 11 #define MAP_SUPPORTED_MASK (MAP_DIRECT)
12

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip