tree:   
https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git 
dm-fallocate
head:   c79eaa33c66f54e2e41c12bc7de505365b43401d
commit: 3443026307e452c76f32d913c2c335b864c34a0d [11/22] block: implement (some 
of) fallocate for block devices
config: x86_64-randconfig-x010-201615 (attached as .config)
reproduce:
        git checkout 3443026307e452c76f32d913c2c335b864c34a0d
        # save the attached .config to linux build tree
        make ARCH=x86_64 

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

   fs/block_dev.c: In function 'blkdev_fallocate':
>> fs/block_dev.c:1856:20: error: 'PAGE_CACHE_SHIFT' undeclared (first use in 
>> this function)
              start >> PAGE_CACHE_SHIFT,
                       ^
   fs/block_dev.c:1856:20: note: each undeclared identifier is reported only 
once for each function it appears in
>> fs/block_dev.c:1858:1: warning: control reaches end of non-void function 
>> [-Wreturn-type]
    }
    ^

vim +/PAGE_CACHE_SHIFT +1856 fs/block_dev.c

  1850  
  1851          /*
  1852           * Invalidate again; if someone wandered in and dirtied a page,
  1853           * the caller will be given -EBUSY;
  1854           */
  1855          return invalidate_inode_pages2_range(mapping,
> 1856                                               start >> PAGE_CACHE_SHIFT,
  1857                                               end >> PAGE_CACHE_SHIFT);
> 1858  }
  1859  EXPORT_SYMBOL_GPL(blkdev_fallocate);
  1860  
  1861  const struct file_operations def_blk_fops = {

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

Attachment: .config.gz
Description: Binary data

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

Reply via email to