[vfs:for-linus 3/3] lib/iov_iter.c:589:1: note: in expansion of macro 'EXPORT_SYMBOL'

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-linus
head:   17ee7fc85eaa18c413b1947c52d7b928e78bc8b1
commit: 17ee7fc85eaa18c413b1947c52d7b928e78bc8b1 [3/3] fix the copy vs. map logics in blk_rq_map_user_iov()
config: i386-randconfig-x009-201614 (attached as .config)
reproduce:
        git checkout 17ee7fc85eaa18c413b1947c52d7b928e78bc8b1
        # save the attached .config to linux build tree
        make ARCH=i386 

All warnings (new ones prefixed by >>):

   lib/iov_iter.c:572:15: error: conflicting types for 'iov_iter_gap_alignment'
    unsigned long iov_iter_gap_alignment(struct iov_iter *i)
                  ^
   In file included from lib/iov_iter.c:2:0:
   include/linux/uio.h:90:15: note: previous declaration of 'iov_iter_gap_alignment' was here
    unsigned long iov_iter_gap_alignment(const struct iov_iter *i);
                  ^
   lib/iov_iter.c: In function 'iov_iter_gap_alignment':
   lib/iov_iter.c:575:17: error: 'struct iov_iter' has no member named 'i_count'
     size_t size = i->i_count;
                    ^
   In file included from lib/iov_iter.c:1:0:
   lib/iov_iter.c: At top level:
   lib/iov_iter.c:589:15: error: conflicting types for 'iov_iter_gap_alignment'
    EXPORT_SYMBOL(iov_iter_gap_alignment);
                  ^
   include/linux/export.h:57:21: note: in definition of macro '__EXPORT_SYMBOL'
     extern typeof(sym) sym;     \
                        ^
>> lib/iov_iter.c:589:1: note: in expansion of macro 'EXPORT_SYMBOL'
    EXPORT_SYMBOL(iov_iter_gap_alignment);
    ^
   In file included from lib/iov_iter.c:2:0:
   include/linux/uio.h:90:15: note: previous declaration of 'iov_iter_gap_alignment' was here
    unsigned long iov_iter_gap_alignment(const struct iov_iter *i);
                  ^

vim +/EXPORT_SYMBOL +589 lib/iov_iter.c

   573	{
   574	        unsigned long res = 0;
   575		size_t size = i->i_count;
   576		if (!size)
   577			return 0;
   578	
   579		iterate_all_kinds(i, size, v,
   580			(res |= (!res ? 0 : (unsigned long)v.iov_base) |
   581				(size != v.iov_len ? size : 0), 0),
   582			(res |= (!res ? 0 : (unsigned long)v.bv_offset) |
   583				(size != v.bv_len ? size : 0)),
   584			(res |= (!res ? 0 : (unsigned long)v.iov_base) |
   585				(size != v.iov_len ? size : 0))
   586			);
   587			return res;
   588	}
 > 589	EXPORT_SYMBOL(iov_iter_gap_alignment);
   590	
   591	ssize_t iov_iter_get_pages(struct iov_iter *i,
   592			   struct page **pages, size_t maxsize, unsigned maxpages,
   593			   size_t *start)
   594	{
   595		if (maxsize > i->count)
   596			maxsize = i->count;
   597	

---
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 Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux