[vfs:work.iov_iter 24/25] drivers/staging/lustre//lnet/klnds/socklnd/socklnd_lib.c:164:12: error: conflicting types for 'do_csum'

[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 work.iov_iter
head:   5c0c5846f2cfd65908d8972d536303a425f57686
commit: 86971ca2870f48eb66d8c87b632f3318d08225df [24/25] switch ksocknal_lib_recv_...() to use of iov_iter_for_each_range()
config: tile-allyesconfig (attached as .config)
compiler: tilegx-linux-gcc (GCC) 4.6.2
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 86971ca2870f48eb66d8c87b632f3318d08225df
        # save the attached .config to linux build tree
        make.cross ARCH=tile 

All errors (new ones prefixed by >>):

>> drivers/staging/lustre//lnet/klnds/socklnd/socklnd_lib.c:164:12: error: conflicting types for 'do_csum'
   arch/tile/include/asm/checksum.h:21:8: note: previous declaration of 'do_csum' was here

vim +/do_csum +164 drivers/staging/lustre//lnet/klnds/socklnd/socklnd_lib.c

   147	
   148	void
   149	ksocknal_lib_eager_ack(struct ksock_conn *conn)
   150	{
   151		int opt = 1;
   152		struct socket *sock = conn->ksnc_sock;
   153	
   154		/*
   155		 * Remind the socket to ACK eagerly.  If I don't, the socket might
   156		 * think I'm about to send something it could piggy-back the ACK
   157		 * on, introducing delay in completing zero-copy sends in my
   158		 * peer.
   159		 */
   160		kernel_setsockopt(sock, SOL_TCP, TCP_QUICKACK, (char *)&opt,
   161				  sizeof(opt));
   162	}
   163	 
 > 164	static int do_csum(struct kvec *v, void *context)
   165	{
   166		struct ksock_conn *conn = context;
   167		conn->ksnc_rx_csum = crc32_le(conn->ksnc_rx_csum,
   168					      v->iov_base, v->iov_len);
   169		return 0;
   170	}
   171	

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

Attachment: .config.gz
Description: application/gzip


[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