[vfs:work.net-ioctl 4/5] net/sunrpc/svcsock.c:341:20: error: invalid type argument of '->' (have 'struct msghdr')

[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.net-ioctl
head:   7f733d3e90de599fe50f426d47468fd4cfee4c74
commit: 08ec85aae1fef751b945bf988a3d62fe5c438b0a [4/5] svc_recvfrom(): switch to sock_recvfrom()
config: x86_64-randconfig-x018-201728 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout 08ec85aae1fef751b945bf988a3d62fe5c438b0a
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   net/sunrpc/svcsock.c: In function 'svc_recvfrom':
>> net/sunrpc/svcsock.c:341:20: error: invalid type argument of '->' (have 'struct msghdr')
     iov_iter_kvec(&msg->msg_iter, READ | ITER_KVEC, iov, nr, buflen);
                       ^~

vim +341 net/sunrpc/svcsock.c

   335		};
   336		int len;
   337	
   338		rqstp->rq_xprt_hlen = 0;
   339	
   340		clear_bit(XPT_DATA, &svsk->sk_xprt.xpt_flags);
 > 341		iov_iter_kvec(&msg->msg_iter, READ | ITER_KVEC, iov, nr, buflen);
   342		len = sock_recvmsg(svsk->sk_sock, &msg, msg.msg_flags);
   343		/* If we read a full record, then assume there may be more
   344		 * data to read (stream based sockets only!)

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