From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com, Dan Carpenter <error27@gmail.com>
Subject: [linux-next:master 5319/10910] drivers/net/ethernet/airoha/airoha_eth.c:513 airoha_fe_lro_rxq_enable() warn: subtract is higher precedence than shift
Date: Sun, 27 Sep 2026 07:41:42 +0200 [thread overview]
Message-ID: <202609270710.uw49PknB-lkp@intel.com> (raw)
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: Lorenzo Bianconi <lorenzo@kernel.org>
CC: Jakub Kicinski <kuba@kernel.org>
CC: Simon Horman <horms@kernel.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: f5f84daefcd92d7a630066635ecea1433ed5eac7
commit: a952507ca094d4e77bea78b462a0482d3c546c9e [5319/10910] net: airoha: add LRO offload support
:::::: branch date: 2 days ago
:::::: commit date: 12 days ago
config: mips-randconfig-r2200-20260926 (https://download.01.org/0day-ci/archive/20260927/202609270710.uw49PknB-lkp@intel.com/config)
compiler: mips64-linux-gcc (GCC) 15.2.0
smatch: v0.5.0-9187-g5189e3fb
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>
| Reported-by: Dan Carpenter <error27@gmail.com>
| Closes: https://lore.kernel.org/r/202609270710.uw49PknB-lkp@intel.com/
New smatch warnings:
drivers/net/ethernet/airoha/airoha_eth.c:513 airoha_fe_lro_rxq_enable() warn: subtract is higher precedence than shift
drivers/net/ethernet/airoha/airoha_eth.c:513 airoha_fe_lro_rxq_enable() warn: subtract is higher precedence than shift
drivers/net/ethernet/airoha/airoha_eth.c:513 airoha_fe_lro_rxq_enable() warn: subtract is higher precedence than shift
drivers/net/ethernet/airoha/airoha_eth.c:513 airoha_fe_lro_rxq_enable() warn: subtract is higher precedence than shift
Old smatch warnings:
drivers/net/ethernet/airoha/airoha_eth.c:2304 airoha_enable_gdm2_loopback() warn: subtract is higher precedence than shift
drivers/net/ethernet/airoha/airoha_eth.c:2304 airoha_enable_gdm2_loopback() warn: subtract is higher precedence than shift
drivers/net/ethernet/airoha/airoha_eth.c:2304 airoha_enable_gdm2_loopback() warn: subtract is higher precedence than shift
drivers/net/ethernet/airoha/airoha_eth.c:2304 airoha_enable_gdm2_loopback() warn: subtract is higher precedence than shift
drivers/net/ethernet/airoha/airoha_eth.c:2862 airoha_qdma_set_chan_tx_sched() warn: subtract is higher precedence than shift
drivers/net/ethernet/airoha/airoha_eth.c:2862 airoha_qdma_set_chan_tx_sched() warn: subtract is higher precedence than shift
drivers/net/ethernet/airoha/airoha_eth.c:2862 airoha_qdma_set_chan_tx_sched() warn: subtract is higher precedence than shift
drivers/net/ethernet/airoha/airoha_eth.c:2862 airoha_qdma_set_chan_tx_sched() warn: subtract is higher precedence than shift
vim +513 drivers/net/ethernet/airoha/airoha_eth.c
23020f04932701d drivers/net/ethernet/mediatek/airoha_eth.c Lorenzo Bianconi 2024-07-12 495
a952507ca094d4e drivers/net/ethernet/airoha/airoha_eth.c Lorenzo Bianconi 2026-09-09 496 static void airoha_fe_lro_rxq_enable(struct airoha_eth *eth, int qdma_id,
a952507ca094d4e drivers/net/ethernet/airoha/airoha_eth.c Lorenzo Bianconi 2026-09-09 497 int lro_queue_index, int qid,
a952507ca094d4e drivers/net/ethernet/airoha/airoha_eth.c Lorenzo Bianconi 2026-09-09 498 int buf_size)
a952507ca094d4e drivers/net/ethernet/airoha/airoha_eth.c Lorenzo Bianconi 2026-09-09 499 {
a952507ca094d4e drivers/net/ethernet/airoha/airoha_eth.c Lorenzo Bianconi 2026-09-09 500 int id = qdma_id + 1;
a952507ca094d4e drivers/net/ethernet/airoha/airoha_eth.c Lorenzo Bianconi 2026-09-09 501
a952507ca094d4e drivers/net/ethernet/airoha/airoha_eth.c Lorenzo Bianconi 2026-09-09 502 airoha_fe_rmw(eth, REG_CDM_LRO_LIMIT(id),
a952507ca094d4e drivers/net/ethernet/airoha/airoha_eth.c Lorenzo Bianconi 2026-09-09 503 CDM_LRO_AGG_NUM_MASK | CDM_LRO_AGG_SIZE_MASK,
a952507ca094d4e drivers/net/ethernet/airoha/airoha_eth.c Lorenzo Bianconi 2026-09-09 504 FIELD_PREP(CDM_LRO_AGG_SIZE_MASK, buf_size) |
a952507ca094d4e drivers/net/ethernet/airoha/airoha_eth.c Lorenzo Bianconi 2026-09-09 505 FIELD_PREP(CDM_LRO_AGG_NUM_MASK,
a952507ca094d4e drivers/net/ethernet/airoha/airoha_eth.c Lorenzo Bianconi 2026-09-09 506 AIROHA_RXQ_LRO_MAX_AGG_COUNT));
a952507ca094d4e drivers/net/ethernet/airoha/airoha_eth.c Lorenzo Bianconi 2026-09-09 507 airoha_fe_rmw(eth, REG_CDM_LRO_AGE_TIME(id),
a952507ca094d4e drivers/net/ethernet/airoha/airoha_eth.c Lorenzo Bianconi 2026-09-09 508 CDM_LRO_AGE_TIME_MASK | CDM_LRO_AGG_TIME_MASK,
a952507ca094d4e drivers/net/ethernet/airoha/airoha_eth.c Lorenzo Bianconi 2026-09-09 509 FIELD_PREP(CDM_LRO_AGE_TIME_MASK,
a952507ca094d4e drivers/net/ethernet/airoha/airoha_eth.c Lorenzo Bianconi 2026-09-09 510 AIROHA_RXQ_LRO_MAX_AGE_TIME) |
a952507ca094d4e drivers/net/ethernet/airoha/airoha_eth.c Lorenzo Bianconi 2026-09-09 511 FIELD_PREP(CDM_LRO_AGG_TIME_MASK,
a952507ca094d4e drivers/net/ethernet/airoha/airoha_eth.c Lorenzo Bianconi 2026-09-09 512 AIROHA_RXQ_LRO_MAX_AGG_TIME));
a952507ca094d4e drivers/net/ethernet/airoha/airoha_eth.c Lorenzo Bianconi 2026-09-09 @513 airoha_fe_rmw(eth, REG_CDM_LRO_RXQ(id, lro_queue_index),
a952507ca094d4e drivers/net/ethernet/airoha/airoha_eth.c Lorenzo Bianconi 2026-09-09 514 LRO_RXQ_MASK(lro_queue_index),
a952507ca094d4e drivers/net/ethernet/airoha/airoha_eth.c Lorenzo Bianconi 2026-09-09 515 __field_prep(LRO_RXQ_MASK(lro_queue_index), qid));
a952507ca094d4e drivers/net/ethernet/airoha/airoha_eth.c Lorenzo Bianconi 2026-09-09 516 airoha_fe_set(eth, REG_CDM_LRO_EN(id), BIT(lro_queue_index));
a952507ca094d4e drivers/net/ethernet/airoha/airoha_eth.c Lorenzo Bianconi 2026-09-09 517 }
a952507ca094d4e drivers/net/ethernet/airoha/airoha_eth.c Lorenzo Bianconi 2026-09-09 518
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-09-27 5:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202609270710.uw49PknB-lkp@intel.com \
--to=lkp@intel.com \
--cc=error27@gmail.com \
--cc=oe-kbuild@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.