[josef-btrfs:master 2/15] fs/ntfs/attrib.c:2549:3: error: implicit declaration of function 'inode_to_bdi'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/josef/btrfs-next.git master
head:   f559d20dba5359054f7a6e76834810e1d383877c
commit: 4852edf10377af7f4b8337b0cf9ac65947b40cfb [2/15] remove mapping from balance_dirty_pages*()
config: blackfin-allyesconfig (attached as .config)
compiler: bfin-uclinux-gcc (GCC) 4.6.3
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 4852edf10377af7f4b8337b0cf9ac65947b40cfb
        # save the attached .config to linux build tree
        make.cross ARCH=blackfin 

All errors (new ones prefixed by >>):

   fs/ntfs/attrib.c: In function 'ntfs_attr_set':
>> fs/ntfs/attrib.c:2549:3: error: implicit declaration of function 'inode_to_bdi' [-Werror=implicit-function-declaration]
   fs/ntfs/attrib.c:2550:7: warning: passing argument 1 of 'balance_dirty_pages_ratelimited' makes pointer from integer without a cast [enabled by default]
   include/linux/writeback.h:367:6: note: expected 'struct backing_dev_info *' but argument is of type 'int'
   fs/ntfs/attrib.c:2592:7: warning: passing argument 1 of 'balance_dirty_pages_ratelimited' makes pointer from integer without a cast [enabled by default]
   include/linux/writeback.h:367:6: note: expected 'struct backing_dev_info *' but argument is of type 'int'
   fs/ntfs/attrib.c:2610:7: warning: passing argument 1 of 'balance_dirty_pages_ratelimited' makes pointer from integer without a cast [enabled by default]
   include/linux/writeback.h:367:6: note: expected 'struct backing_dev_info *' but argument is of type 'int'
   cc1: some warnings being treated as errors

vim +/inode_to_bdi +2549 fs/ntfs/attrib.c

  2543			kaddr = kmap_atomic(page);
  2544			memset(kaddr + start_ofs, val, size - start_ofs);
  2545			flush_dcache_page(page);
  2546			kunmap_atomic(kaddr);
  2547			set_page_dirty(page);
  2548			put_page(page);
> 2549			balance_dirty_pages_ratelimited(inode_to_bdi(inode),
  2550							inode->i_sb);
  2551			cond_resched();
  2552			if (idx == end)

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

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux