From: kernel test robot <lkp@intel.com>
To: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>,
leon@kernel.org, jgg@ziepe.ca
Cc: oe-kbuild-all@lists.linux.dev, linux-rdma@vger.kernel.org,
andrew.gospodarek@broadcom.com, selvin.xavier@broadcom.com,
kalesh-anakkur.purayil@broadcom.com,
Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>
Subject: Re: [PATCH rdma-next 3/4] RDMA/bnxt_re: Direct Verbs: Support DBR and UMEM verbs
Date: Tue, 4 Nov 2025 09:34:03 +0800 [thread overview]
Message-ID: <202511040929.WGNASMrK-lkp@intel.com> (raw)
In-Reply-To: <20251103105033.205586-4-sriharsha.basavapatna@broadcom.com>
Hi Sriharsha,
kernel test robot noticed the following build warnings:
[auto build test WARNING on rdma/for-next]
[also build test WARNING on linus/master v6.18-rc4 next-20251103]
[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/Sriharsha-Basavapatna/RDMA-bnxt_re-Move-the-UAPI-methods-to-a-dedicated-file/20251103-190151
base: https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git for-next
patch link: https://lore.kernel.org/r/20251103105033.205586-4-sriharsha.basavapatna%40broadcom.com
patch subject: [PATCH rdma-next 3/4] RDMA/bnxt_re: Direct Verbs: Support DBR and UMEM verbs
config: x86_64-rhel-9.4-ltp (https://download.01.org/0day-ci/archive/20251104/202511040929.WGNASMrK-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251104/202511040929.WGNASMrK-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/202511040929.WGNASMrK-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/infiniband/hw/bnxt_re/dv.c: In function 'bnxt_re_handler_BNXT_RE_METHOD_DBR_QUERY':
>> drivers/infiniband/hw/bnxt_re/dv.c:552:29: warning: variable 'rdev' set but not used [-Wunused-but-set-variable]
552 | struct bnxt_re_dev *rdev;
| ^~~~
vim +/rdev +552 drivers/infiniband/hw/bnxt_re/dv.c
546
547 static int UVERBS_HANDLER(BNXT_RE_METHOD_DBR_QUERY)(struct uverbs_attr_bundle *attrs)
548 {
549 struct bnxt_re_dv_db_region dpi = {};
550 struct bnxt_re_ucontext *uctx;
551 struct ib_ucontext *ib_uctx;
> 552 struct bnxt_re_dev *rdev;
553 int ret;
554
555 ib_uctx = ib_uverbs_get_ucontext(attrs);
556 if (IS_ERR(ib_uctx))
557 return PTR_ERR(ib_uctx);
558
559 uctx = container_of(ib_uctx, struct bnxt_re_ucontext, ib_uctx);
560 rdev = uctx->rdev;
561
562 dpi.umdbr = uctx->dpi.umdbr;
563 dpi.dpi = uctx->dpi.dpi;
564
565 ret = uverbs_copy_to_struct_or_zero(attrs, BNXT_RE_DV_QUERY_DBR_ATTR,
566 &dpi, sizeof(dpi));
567 if (ret)
568 return ret;
569
570 return 0;
571 }
572
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-11-04 1:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-03 10:50 [PATCH rdma-next 0/4] RDMA/bnxt_re: Support direct verbs Sriharsha Basavapatna
2025-11-03 10:50 ` [PATCH rdma-next 1/4] RDMA/bnxt_re: Move the UAPI methods to a dedicated file Sriharsha Basavapatna
2025-11-03 10:50 ` [PATCH rdma-next 2/4] RDMA/bnxt_re: Refactor bnxt_qplib_create_qp() function Sriharsha Basavapatna
2025-11-03 10:50 ` [PATCH rdma-next 3/4] RDMA/bnxt_re: Direct Verbs: Support DBR and UMEM verbs Sriharsha Basavapatna
2025-11-04 1:34 ` kernel test robot [this message]
2025-11-03 10:50 ` [PATCH rdma-next 4/4] RDMA/bnxt_re: Direct Verbs: Support CQ and QP verbs Sriharsha Basavapatna
2025-11-04 3:45 ` kernel test robot
2025-11-04 4:58 ` kernel test robot
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=202511040929.WGNASMrK-lkp@intel.com \
--to=lkp@intel.com \
--cc=andrew.gospodarek@broadcom.com \
--cc=jgg@ziepe.ca \
--cc=kalesh-anakkur.purayil@broadcom.com \
--cc=leon@kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=selvin.xavier@broadcom.com \
--cc=sriharsha.basavapatna@broadcom.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox