[dm-devel] [dm:dm-fallocate 9/22] block/ioctl.c:266:20: error: 'PAGE_CACHE_SHIFT' undeclared
kbuild test robot
fengguang.wu at intel.com
Tue Apr 12 20:16:08 UTC 2016
tree: https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git dm-fallocate
head: c79eaa33c66f54e2e41c12bc7de505365b43401d
commit: e46671c1150b9ef7ba22d79ac14ff881fb611759 [9/22] block: invalidate the page cache when issuing BLKZEROOUT.
config: x86_64-randconfig-x010-201615 (attached as .config)
reproduce:
git checkout e46671c1150b9ef7ba22d79ac14ff881fb611759
# save the attached .config to linux build tree
make ARCH=x86_64
All error/warnings (new ones prefixed by >>):
block/ioctl.c: In function 'blk_ioctl_zeroout':
>> block/ioctl.c:266:20: error: 'PAGE_CACHE_SHIFT' undeclared (first use in this function)
start >> PAGE_CACHE_SHIFT,
^
block/ioctl.c:266:20: note: each undeclared identifier is reported only once for each function it appears in
>> block/ioctl.c:268:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
vim +/PAGE_CACHE_SHIFT +266 block/ioctl.c
260
261 /*
262 * Invalidate again; if someone wandered in and dirtied a page,
263 * the caller will be given -EBUSY.
264 */
265 return invalidate_inode_pages2_range(mapping,
> 266 start >> PAGE_CACHE_SHIFT,
267 end >> PAGE_CACHE_SHIFT);
> 268 }
269
270 static int put_ushort(unsigned long arg, unsigned short val)
271 {
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 25535 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20160413/16145855/attachment.obj>
More information about the dm-devel
mailing list