All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Chuck Lever <cel@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC PATCH] svcrdma: Introduce Receive buffer arenas
Date: Sun, 10 Aug 2025 04:42:30 +0800	[thread overview]
Message-ID: <202508100416.aCwCI003-lkp@intel.com> (raw)
In-Reply-To: <20250808184648.120866-1-cel@kernel.org>

Hi Chuck,

[This is a private test report for your RFC patch.]
kernel test robot noticed the following build errors:

[auto build test ERROR on trondmy-nfs/linux-next]
[also build test ERROR on linus/master v6.16 next-20250808]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Chuck-Lever/svcrdma-Introduce-Receive-buffer-arenas/20250809-025410
base:   git://git.linux-nfs.org/projects/trondmy/linux-nfs.git linux-next
patch link:    https://lore.kernel.org/r/20250808184648.120866-1-cel%40kernel.org
patch subject: [RFC PATCH] svcrdma: Introduce Receive buffer arenas
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20250810/202508100416.aCwCI003-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250810/202508100416.aCwCI003-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202508100416.aCwCI003-lkp@intel.com/

All errors (new ones prefixed by >>):

   net/sunrpc/xprtrdma/svc_rdma_recvfrom.c: In function 'svc_rdma_recv_ctxt_alloc':
>> net/sunrpc/xprtrdma/svc_rdma_recvfrom.c:136:40: error: passing argument 4 of 'rpcrdma_pool_alloc_buffer' from incompatible pointer type [-Wincompatible-pointer-types]
     136 |                                        &ctxt->rc_recv_sge.addr))
         |                                        ^~~~~~~~~~~~~~~~~~~~~~~
         |                                        |
         |                                        u64 * {aka long long unsigned int *}
   In file included from net/sunrpc/xprtrdma/svc_rdma_recvfrom.c:107:
   net/sunrpc/xprtrdma/pool.h:23:61: note: expected 'dma_addr_t *' {aka 'unsigned int *'} but argument is of type 'u64 *' {aka 'long long unsigned int *'}
      23 |                                void **cpu_addr, dma_addr_t *dma_addr);
         |                                                 ~~~~~~~~~~~~^~~~~~~~


vim +/rpcrdma_pool_alloc_buffer +136 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c

   119	
   120	static struct svc_rdma_recv_ctxt *
   121	svc_rdma_recv_ctxt_alloc(struct svcxprt_rdma *rdma)
   122	{
   123		int node = ibdev_to_node(rdma->sc_cm_id->device);
   124		struct svc_rdma_recv_ctxt *ctxt;
   125		unsigned long pages;
   126	
   127		pages = svc_serv_maxpages(rdma->sc_xprt.xpt_server);
   128		ctxt = kzalloc_node(struct_size(ctxt, rc_pages, pages),
   129				    GFP_KERNEL, node);
   130		if (!ctxt)
   131			goto fail0;
   132		ctxt->rc_maxpages = pages;
   133	
   134		if (!rpcrdma_pool_alloc_buffer(rdma->sc_recv_pool, GFP_KERNEL,
   135					       &ctxt->rc_recv_buf,
 > 136					       &ctxt->rc_recv_sge.addr))
   137			goto fail1;
   138	
   139		svc_rdma_recv_cid_init(rdma, &ctxt->rc_cid);
   140		pcl_init(&ctxt->rc_call_pcl);
   141		pcl_init(&ctxt->rc_read_pcl);
   142		pcl_init(&ctxt->rc_write_pcl);
   143		pcl_init(&ctxt->rc_reply_pcl);
   144	
   145		ctxt->rc_recv_wr.next = NULL;
   146		ctxt->rc_recv_wr.wr_cqe = &ctxt->rc_cqe;
   147		ctxt->rc_recv_wr.sg_list = &ctxt->rc_recv_sge;
   148		ctxt->rc_recv_wr.num_sge = 1;
   149		ctxt->rc_cqe.done = svc_rdma_wc_receive;
   150		ctxt->rc_recv_sge.length = rdma->sc_max_req_size;
   151		ctxt->rc_recv_sge.lkey = rdma->sc_pd->local_dma_lkey;
   152		svc_rdma_cc_init(rdma, &ctxt->rc_cc);
   153		return ctxt;
   154	
   155	fail1:
   156		kfree(ctxt);
   157	fail0:
   158		return NULL;
   159	}
   160	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

      reply	other threads:[~2025-08-09 20:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-08 18:46 [RFC PATCH] svcrdma: Introduce Receive buffer arenas Chuck Lever
2025-08-09 20:42 ` kernel test robot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202508100416.aCwCI003-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=cel@kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.