Hi Chandan,

[auto build test ERROR on btrfs/next]
[also build test ERROR on v4.6-rc4 next-20160418]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:    
https://github.com/0day-ci/linux/commits/Chandan-Rajendra/Btrfs-subpage-blocksize-btrfs_punch_hole-Fix-uptodate-blocks-check/20160417-202629
base:   https://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git 
next
config: x86_64-lkp (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   fs/btrfs/file.c: In function 'btrfs_punch_hole':
>> fs/btrfs/file.c:2473:4: error: implicit declaration of function 
>> 'test_page_blks_state' [-Werror=implicit-function-declaration]
       test_page_blks_state(start_page, 1 << BLK_STATE_UPTODATE,
       ^
>> fs/btrfs/file.c:2473:42: error: 'BLK_STATE_UPTODATE' undeclared (first use 
>> in this function)
       test_page_blks_state(start_page, 1 << BLK_STATE_UPTODATE,
                                             ^
   fs/btrfs/file.c:2473:42: note: each undeclared identifier is reported only 
once for each function it appears in
   cc1: some warnings being treated as errors

vim +/test_page_blks_state +2473 fs/btrfs/file.c

  2467                  nr_pages >>= PAGE_SHIFT;
  2468  
  2469                  if ((!ordered ||
  2470                      (ordered->file_offset + ordered->len <= lockstart ||
  2471                       ordered->file_offset > lockend)) &&
  2472                       (!(start_page && PagePrivate(start_page) &&
> 2473                          test_page_blks_state(start_page, 1 << 
> BLK_STATE_UPTODATE,
  2474                           lockstart,
  2475                           min(lockstart + PAGE_SIZE - 1, lockend), 0)) &&
  2476                        !(end_page && PagePrivate(end_page) &&

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

Attachment: .config.gz
Description: Binary data

Reply via email to