Re: [PATCH v1 19/22] xprtrdma: Use gathered Send for large inline messages

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

 



Hi Chuck,

[auto build test WARNING on nfs/linux-next]
[also build test WARNING on v4.8-rc2 next-20160815]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Chuck-Lever/client-side-NFS-RDMA-patches-proposed-for-v4-9/20160816-050417
base:   git://git.linux-nfs.org/projects/trondmy/linux-nfs.git linux-next
config: xtensa-allmodconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=xtensa 

All warnings (new ones prefixed by >>):

   In file included from include/linux/sunrpc/types.h:14:0,
                    from include/linux/sunrpc/sched.h:14,
                    from include/linux/sunrpc/clnt.h:18,
                    from net/sunrpc/xprtrdma/xprt_rdma.h:51,
                    from net/sunrpc/xprtrdma/rpc_rdma.c:48:
   net/sunrpc/xprtrdma/rpc_rdma.c: In function 'rpcrdma_prepare_hdr_sge':
>> net/sunrpc/xprtrdma/rpc_rdma.c:535:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
      __func__, (void *)sge->addr, sge->length);
                ^
   include/linux/sunrpc/debug.h:33:24: note: in definition of macro 'dfprintk'
       printk(KERN_DEFAULT args); \
                           ^
>> net/sunrpc/xprtrdma/rpc_rdma.c:534:2: note: in expansion of macro 'dprintk'
     dprintk("RPC:       %s:  hdr: sge[0]: [%p, %u]\n",
     ^
   net/sunrpc/xprtrdma/rpc_rdma.c: In function 'rpcrdma_prepare_msg_sge':
   net/sunrpc/xprtrdma/rpc_rdma.c:568:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
      __func__, (void *)sge->addr, sge->length);
                ^
   include/linux/sunrpc/debug.h:33:24: note: in definition of macro 'dfprintk'
       printk(KERN_DEFAULT args); \
                           ^
   net/sunrpc/xprtrdma/rpc_rdma.c:567:2: note: in expansion of macro 'dprintk'
     dprintk("RPC:       %s: head: sge[1]: [%p, %u]\n",
     ^
   net/sunrpc/xprtrdma/rpc_rdma.c: In function 'rpcrdma_prepare_msg_sges':
   net/sunrpc/xprtrdma/rpc_rdma.c:600:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
      __func__, i, (void *)sge[i].addr, sge[i].length);
                   ^
   include/linux/sunrpc/debug.h:33:24: note: in definition of macro 'dfprintk'
       printk(KERN_DEFAULT args); \
                           ^
   net/sunrpc/xprtrdma/rpc_rdma.c:599:2: note: in expansion of macro 'dprintk'
     dprintk("RPC:       %s: head: sge[%u]: [%p, %u]\n",
     ^
   net/sunrpc/xprtrdma/rpc_rdma.c:627:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
       __func__, i, (void *)sge[i].addr, sge[i].length);
                    ^
   include/linux/sunrpc/debug.h:33:24: note: in definition of macro 'dfprintk'
       printk(KERN_DEFAULT args); \
                           ^
   net/sunrpc/xprtrdma/rpc_rdma.c:626:3: note: in expansion of macro 'dprintk'
      dprintk("RPC:       %s: page: sge[%u]: [%p, %u]\n",
      ^
   net/sunrpc/xprtrdma/rpc_rdma.c:660:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
       __func__, i, (void *)sge[i].addr, sge[i].length);
                    ^
   include/linux/sunrpc/debug.h:33:24: note: in definition of macro 'dfprintk'
       printk(KERN_DEFAULT args); \
                           ^
   net/sunrpc/xprtrdma/rpc_rdma.c:659:3: note: in expansion of macro 'dprintk'
      dprintk("RPC:       %s: tail: sge[%u]: [%p, %u]\n",
      ^
   net/sunrpc/xprtrdma/rpc_rdma.c: In function 'rpcrdma_pages_unmap':
   net/sunrpc/xprtrdma/rpc_rdma.c:681:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
       __func__, i, (void *)sge->addr, sge->length);
                    ^
   include/linux/sunrpc/debug.h:33:24: note: in definition of macro 'dfprintk'
       printk(KERN_DEFAULT args); \
                           ^
   net/sunrpc/xprtrdma/rpc_rdma.c:680:3: note: in expansion of macro 'dprintk'
      dprintk("RPC:       %s: unmapping sge[%u]: [%p, %u]\n",
      ^

vim +535 net/sunrpc/xprtrdma/rpc_rdma.c

   528			sge->lkey = rdmab_lkey(rb);
   529		}
   530		sge->length = len;
   531	
   532		rpcrdma_dma_sync_sge(r_xprt, sge);
   533	
 > 534		dprintk("RPC:       %s:  hdr: sge[0]: [%p, %u]\n",
 > 535			__func__, (void *)sge->addr, sge->length);
   536		req->rl_send_wr.num_sge++;
   537		return true;
   538	}

---
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 Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux