[vfs:for-linus 3/3] lib/iov_iter.c:572:15: error: conflicting types for 'iov_iter_gap_alignment'

[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-tinyconfig (attached as .config)
reproduce:
        git checkout 17ee7fc85eaa18c413b1947c52d7b928e78bc8b1
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (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;
                    ^

vim +/iov_iter_gap_alignment +572 lib/iov_iter.c

   566			res |= (unsigned long)v.iov_base | v.iov_len
   567		)
   568		return res;
   569	}
   570	EXPORT_SYMBOL(iov_iter_alignment);
   571	
 > 572	unsigned long iov_iter_gap_alignment(struct iov_iter *i)
   573	{
   574	        unsigned long res = 0;
 > 575		size_t size = i->i_count;
   576		if (!size)
   577			return 0;
   578	

---
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