All of lore.kernel.org
 help / color / mirror / Atom feed
* [vfs:for-linus 3/3] lib/iov_iter.c:589:1: note: in expansion of macro 'EXPORT_SYMBOL'
@ 2016-04-08 23:20 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2016-04-08 23:20 UTC (permalink / raw)
  To: Al Viro; +Cc: kbuild-all, linux-fsdevel

[-- Attachment #1: Type: text/plain, Size: 2771 bytes --]

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 #2: .config.gz --]
[-- Type: application/octet-stream, Size: 22816 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-04-08 23:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-08 23:20 [vfs:for-linus 3/3] lib/iov_iter.c:589:1: note: in expansion of macro 'EXPORT_SYMBOL' kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.