From: kernel test robot <lkp@intel.com>
To: Shinas Rasheed <srasheed@marvell.com>,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: oe-kbuild-all@lists.linux.dev, hgani@marvell.com,
vimleshk@marvell.com, egallen@redhat.com, mschmidt@redhat.com,
pabeni@redhat.com, horms@kernel.org, kuba@kernel.org,
davem@davemloft.net, wizhao@redhat.com, kheib@redhat.com,
konguyen@redhat.com, Shinas Rasheed <srasheed@marvell.com>,
Veerasenareddy Burru <vburru@marvell.com>,
Sathesh Edara <sedara@marvell.com>,
Eric Dumazet <edumazet@google.com>
Subject: Re: [PATCH net-next v1 1/4] octeon_ep: add PF-VF mailbox communication
Date: Sat, 9 Dec 2023 01:29:31 +0800 [thread overview]
Message-ID: <202312090134.EZuetV2i-lkp@intel.com> (raw)
In-Reply-To: <20231208070352.2606192-2-srasheed@marvell.com>
Hi Shinas,
kernel test robot noticed the following build warnings:
[auto build test WARNING on net-next/main]
url: https://github.com/intel-lab-lkp/linux/commits/Shinas-Rasheed/octeon_ep-add-PF-VF-mailbox-communication/20231208-150756
base: net-next/main
patch link: https://lore.kernel.org/r/20231208070352.2606192-2-srasheed%40marvell.com
patch subject: [PATCH net-next v1 1/4] octeon_ep: add PF-VF mailbox communication
config: x86_64-randconfig-121-20231208 (https://download.01.org/0day-ci/archive/20231209/202312090134.EZuetV2i-lkp@intel.com/config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231209/202312090134.EZuetV2i-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/202312090134.EZuetV2i-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/net/ethernet/marvell/octeon_ep/octep_cnxk_pf.c: In function 'octep_poll_pfvf_mailbox_cnxk_pf':
>> drivers/net/ethernet/marvell/octeon_ep/octep_cnxk_pf.c:406:6: warning: variable 'handled' set but not used [-Wunused-but-set-variable]
int handled = 0;
^~~~~~~
vim +/handled +406 drivers/net/ethernet/marvell/octeon_ep/octep_cnxk_pf.c
401
402 static void octep_poll_pfvf_mailbox_cnxk_pf(struct octep_device *oct)
403 {
404 u32 vf, active_vfs, active_rings_per_vf, vf_mbox_queue;
405 u64 reg0;
> 406 int handled = 0;
407
408 reg0 = octep_read_csr64(oct, CNXK_SDP_EPF_MBOX_RINT(0));
409 if (reg0) {
410 active_vfs = CFG_GET_ACTIVE_VFS(oct->conf);
411 active_rings_per_vf = CFG_GET_ACTIVE_RPVF(oct->conf);
412 for (vf = 0; vf < active_vfs; vf++) {
413 vf_mbox_queue = vf * active_rings_per_vf;
414 if (!(reg0 & (0x1UL << vf_mbox_queue)))
415 continue;
416
417 if (!oct->mbox[vf_mbox_queue]) {
418 dev_err(&oct->pdev->dev, "bad mbox vf %d\n", vf);
419 continue;
420 }
421 schedule_work(&oct->mbox[vf_mbox_queue]->wk.work);
422 }
423 if (reg0)
424 octep_write_csr64(oct, CNXK_SDP_EPF_MBOX_RINT(0), reg0);
425
426 handled = 1;
427 }
428 }
429
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2023-12-08 17:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-08 7:03 [PATCH net-next v1 0/4] add PF-VF mailbox support Shinas Rasheed
2023-12-08 7:03 ` [PATCH net-next v1 1/4] octeon_ep: add PF-VF mailbox communication Shinas Rasheed
2023-12-08 17:29 ` kernel test robot [this message]
2023-12-11 0:54 ` kernel test robot
2023-12-08 7:03 ` [PATCH net-next v1 2/4] octeon_ep: PF-VF mailbox version support Shinas Rasheed
2023-12-08 7:03 ` [PATCH net-next v1 3/4] octeon_ep: control net framework to support VF offloads Shinas Rasheed
2023-12-08 7:03 ` [PATCH net-next v1 4/4] octeon_ep: support firmware notifications for VFs Shinas Rasheed
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=202312090134.EZuetV2i-lkp@intel.com \
--to=lkp@intel.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=egallen@redhat.com \
--cc=hgani@marvell.com \
--cc=horms@kernel.org \
--cc=kheib@redhat.com \
--cc=konguyen@redhat.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mschmidt@redhat.com \
--cc=netdev@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pabeni@redhat.com \
--cc=sedara@marvell.com \
--cc=srasheed@marvell.com \
--cc=vburru@marvell.com \
--cc=vimleshk@marvell.com \
--cc=wizhao@redhat.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;
as well as URLs for NNTP newsgroup(s).