From: kernel test robot <lkp@intel.com>
To: Mengyuan Lou <mengyuanlou@net-swift.com>, netdev@vger.kernel.org
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
kuba@kernel.org, pabeni@redhat.com, horms@kernel.org,
andrew+netdev@lunn.ch, duanqiangwen@net-swift.com,
linglingzhang@trustnetic.com, jiawenwu@net-swift.com,
Mengyuan Lou <mengyuanlou@net-swift.com>
Subject: Re: [PATCH net-next 06/12] net: txgbevf: init interrupts and request irqs
Date: Thu, 12 Jun 2025 06:39:41 +0800 [thread overview]
Message-ID: <202506120658.JRvrXNTk-lkp@intel.com> (raw)
In-Reply-To: <20250611083559.14175-7-mengyuanlou@net-swift.com>
Hi Mengyuan,
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/Mengyuan-Lou/net-libwx-add-mailbox-api-for-wangxun-vf-drivers/20250611-165134
base: net-next/main
patch link: https://lore.kernel.org/r/20250611083559.14175-7-mengyuanlou%40net-swift.com
patch subject: [PATCH net-next 06/12] net: txgbevf: init interrupts and request irqs
config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20250612/202506120658.JRvrXNTk-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250612/202506120658.JRvrXNTk-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/202506120658.JRvrXNTk-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/net/ethernet/wangxun/txgbevf/txgbevf_main.c:77:3: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
77 | default:
| ^
drivers/net/ethernet/wangxun/txgbevf/txgbevf_main.c:77:3: note: insert 'break;' to avoid fall-through
77 | default:
| ^
| break;
1 warning generated.
vim +77 drivers/net/ethernet/wangxun/txgbevf/txgbevf_main.c
46
47 static void txgbevf_set_num_queues(struct wx *wx)
48 {
49 u32 def_q = 0, num_tcs = 0;
50 u16 rss, queue;
51 int ret = 0;
52
53 /* Start with base case */
54 wx->num_rx_queues = 1;
55 wx->num_tx_queues = 1;
56
57 spin_lock_bh(&wx->mbx.mbx_lock);
58 /* fetch queue configuration from the PF */
59 ret = wx_get_queues_vf(wx, &num_tcs, &def_q);
60 spin_unlock_bh(&wx->mbx.mbx_lock);
61
62 if (ret)
63 return;
64
65 /* we need as many queues as traffic classes */
66 if (num_tcs > 1) {
67 wx->num_rx_queues = num_tcs;
68 } else {
69 rss = min_t(u16, num_online_cpus(), TXGBEVF_MAX_RSS_NUM);
70 queue = min_t(u16, wx->mac.max_rx_queues, wx->mac.max_tx_queues);
71 rss = min_t(u16, queue, rss);
72
73 switch (wx->vfinfo->vf_api) {
74 case wx_mbox_api_13:
75 wx->num_rx_queues = rss;
76 wx->num_tx_queues = rss;
> 77 default:
78 break;
79 }
80 }
81 }
82
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-06-11 22:40 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-11 8:35 [PATCH net-next 00/12] Add vf drivers for wangxun virtual functions Mengyuan Lou
2025-06-11 8:35 ` [PATCH net-next 01/12] net: libwx: add mailbox api for wangxun vf drivers Mengyuan Lou
2025-06-18 9:46 ` Michal Swiatkowski
2025-06-20 8:32 ` mengyuanlou
2025-06-11 8:35 ` [PATCH net-next 02/12] net: libwx: add base vf api for " Mengyuan Lou
2025-06-18 11:28 ` Michal Swiatkowski
2025-06-20 10:27 ` mengyuanlou
2025-06-11 8:35 ` [PATCH net-next 03/12] net: libwx: add wangxun vf common api Mengyuan Lou
2025-06-17 15:11 ` Simon Horman
2025-06-20 8:02 ` mengyuanlou
2025-06-11 8:35 ` [PATCH net-next 04/12] net: wangxun: add txgbevf build Mengyuan Lou
2025-06-11 8:35 ` [PATCH net-next 05/12] net: txgbevf: add sw init pci info and reset hardware Mengyuan Lou
2025-06-11 8:35 ` [PATCH net-next 06/12] net: txgbevf: init interrupts and request irqs Mengyuan Lou
2025-06-11 22:39 ` kernel test robot [this message]
2025-06-11 8:35 ` [PATCH net-next 07/12] net: txgbevf: Support Rx and Tx process path Mengyuan Lou
2025-06-11 8:35 ` [PATCH net-next 08/12] net: txgbevf: add phylink check flow Mengyuan Lou
2025-06-11 8:35 ` [PATCH net-next 09/12] net: wangxun: add ngbevf build Mengyuan Lou
2025-06-11 8:35 ` [PATCH net-next 10/12] net: ngbevf: add sw init pci info and reset hardware Mengyuan Lou
2025-06-11 8:35 ` [PATCH net-next 11/12] net: ngbevf: init interrupts and request irqs Mengyuan Lou
2025-06-11 8:35 ` [PATCH net-next 12/12] net: ngbevf: add phylink check flow Mengyuan Lou
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=202506120658.JRvrXNTk-lkp@intel.com \
--to=lkp@intel.com \
--cc=andrew+netdev@lunn.ch \
--cc=duanqiangwen@net-swift.com \
--cc=horms@kernel.org \
--cc=jiawenwu@net-swift.com \
--cc=kuba@kernel.org \
--cc=linglingzhang@trustnetic.com \
--cc=llvm@lists.linux.dev \
--cc=mengyuanlou@net-swift.com \
--cc=netdev@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pabeni@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 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.