From: kernel test robot <lkp@intel.com>
To: ende.tan@starfivetech.com, netdev@vger.kernel.org
Cc: oe-kbuild-all@lists.linux.dev, andrew@lunn.ch,
alexandre.torgue@foss.st.com, joabreu@synopsys.com,
davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
pabeni@redhat.com, mcoquelin.stm32@gmail.com,
linux-kernel@vger.kernel.org,
linux-stm32@st-md-mailman.stormreply.com,
linux-arm-kernel@lists.infradead.org,
leyfoon.tan@starfivetech.com, minda.chen@starfivetech.com,
endeneer@gmail.com, Tan En De <ende.tan@starfivetech.com>
Subject: Re: [net-next,v3,1/1] net: stmmac: Batch set RX OWN flag and other flags
Date: Sat, 31 Aug 2024 07:19:50 +0800 [thread overview]
Message-ID: <202408310604.E3C4zDID-lkp@intel.com> (raw)
In-Reply-To: <20240829134043.323855-1-ende.tan@starfivetech.com>
Hi,
kernel test robot noticed the following build warnings:
[auto build test WARNING on linus/master]
[also build test WARNING on horms-ipvs/master v6.11-rc5 next-20240830]
[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/ende-tan-starfivetech-com/net-stmmac-Batch-set-RX-OWN-flag-and-other-flags/20240829-214324
base: linus/master
patch link: https://lore.kernel.org/r/20240829134043.323855-1-ende.tan%40starfivetech.com
patch subject: [net-next,v3,1/1] net: stmmac: Batch set RX OWN flag and other flags
config: x86_64-randconfig-r132-20240830 (https://download.01.org/0day-ci/archive/20240831/202408310604.E3C4zDID-lkp@intel.com/config)
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240831/202408310604.E3C4zDID-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/202408310604.E3C4zDID-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c:59:21: sparse: sparse: incorrect type in initializer (different base types) @@ expected unsigned int [usertype] flags @@ got restricted __le32 [usertype] @@
drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c:59:21: sparse: expected unsigned int [usertype] flags
drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c:59:21: sparse: got restricted __le32 [usertype]
>> drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c:62:24: sparse: sparse: invalid assignment: |=
drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c:62:24: sparse: left side has type unsigned int
drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c:62:24: sparse: right side has type restricted __le32
drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c:64:17: sparse: sparse: invalid assignment: |=
drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c:64:17: sparse: left side has type restricted __le32
drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c:64:17: sparse: right side has type unsigned int
drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c:110:23: sparse: sparse: restricted __le32 degrades to integer
drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c:110:50: sparse: sparse: restricted __le32 degrades to integer
--
>> drivers/net/ethernet/stmicro/stmmac/dwmac4_descs.c:189:21: sparse: sparse: incorrect type in initializer (different base types) @@ expected unsigned int [usertype] flags @@ got restricted __le32 [usertype] @@
drivers/net/ethernet/stmicro/stmmac/dwmac4_descs.c:189:21: sparse: expected unsigned int [usertype] flags
drivers/net/ethernet/stmicro/stmmac/dwmac4_descs.c:189:21: sparse: got restricted __le32 [usertype]
>> drivers/net/ethernet/stmicro/stmmac/dwmac4_descs.c:192:23: sparse: sparse: invalid assignment: |=
drivers/net/ethernet/stmicro/stmmac/dwmac4_descs.c:192:23: sparse: left side has type unsigned int
drivers/net/ethernet/stmicro/stmmac/dwmac4_descs.c:192:23: sparse: right side has type restricted __le32
drivers/net/ethernet/stmicro/stmmac/dwmac4_descs.c:194:17: sparse: sparse: invalid assignment: |=
drivers/net/ethernet/stmicro/stmmac/dwmac4_descs.c:194:17: sparse: left side has type restricted __le32
drivers/net/ethernet/stmicro/stmmac/dwmac4_descs.c:194:17: sparse: right side has type unsigned int
vim +59 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c
56
57 static void dwxgmac2_set_rx_owner(struct dma_desc *p, int disable_rx_ic)
58 {
> 59 u32 flags = cpu_to_le32(XGMAC_RDES3_OWN);
60
61 if (!disable_rx_ic)
> 62 flags |= cpu_to_le32(XGMAC_RDES3_IOC);
63
64 p->des3 |= flags;
65 }
66
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2024-08-30 23:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-29 13:40 [net-next,v3,1/1] net: stmmac: Batch set RX OWN flag and other flags ende.tan
2024-08-30 23:19 ` kernel test robot [this message]
2024-08-30 23:59 ` Florian Fainelli
2024-08-30 23:59 ` Florian Fainelli
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=202408310604.E3C4zDID-lkp@intel.com \
--to=lkp@intel.com \
--cc=alexandre.torgue@foss.st.com \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=ende.tan@starfivetech.com \
--cc=endeneer@gmail.com \
--cc=joabreu@synopsys.com \
--cc=kuba@kernel.org \
--cc=leyfoon.tan@starfivetech.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=minda.chen@starfivetech.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.