From: Vladimir Oltean <vladimir.oltean@nxp.com>
To: Breno Leitao <leitao@debian.org>
Cc: kernel test robot <lkp@intel.com>,
Madalin Bucur <madalin.bucur@nxp.com>,
oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
Jakub Kicinski <kuba@kernel.org>
Subject: Re: drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:2745:24: sparse: sparse: cast to restricted __be32
Date: Mon, 28 Oct 2024 16:10:51 +0200 [thread overview]
Message-ID: <20241028141051.eoltcyf37lf5dsyp@skbuf> (raw)
In-Reply-To: <20241028-sticky-refined-lionfish-b06c0c@leitao>
Hi Breno,
On Mon, Oct 28, 2024 at 03:56:50AM -0700, Breno Leitao wrote:
> On Sun, Oct 27, 2024 at 05:36:56PM +0800, kernel test robot wrote:
> > Hi Breno,
> >
> > First bad commit (maybe != root cause):
> >
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > head: 850925a8133c73c4a2453c360b2c3beb3bab67c9
> > commit: 782fe08e9861d00ce8aca370453dd9ceb9a23d50 soc: fsl: qbman: FSL_DPAA depends on COMPILE_TEST
> > date: 3 months ago
> > config: arm-randconfig-r123-20241027 (https://download.01.org/0day-ci/archive/20241027/202410271721.jiVrriXD-lkp@intel.com/config)
> > compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 5886454669c3c9026f7f27eab13509dd0241f2d6)
> > reproduce: (https://download.01.org/0day-ci/archive/20241027/202410271721.jiVrriXD-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/202410271721.jiVrriXD-lkp@intel.com/
> >
> > sparse warnings: (new ones prefixed by >>)
> > >> drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:2745:24: sparse: sparse: cast to restricted __be32
> > drivers/net/ethernet/freescale/dpaa/dpaa_eth.c: note: in included file (through include/linux/module.h):
> > include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true
> > drivers/net/ethernet/freescale/dpaa/dpaa_eth.c: note: in included file:
> > >> include/soc/fsl/qman.h:245:16: sparse: sparse: cast to restricted __be32
> > >> include/soc/fsl/qman.h:245:16: sparse: sparse: cast from restricted __be16
>
> Thanks. The commit above "782fe08e98 ("soc: fsl: qbman: FSL_DPAA depends
> on COMPILE_TEST") was created to detect problems like this, since it is
> not possible to compile-test dpaa driver.
>
> Copying Madalin Bucur <madalin.bucur@nxp.com>, who currently maintains
> this driver.
I will handle the sparse warnings exposed by your COMPILE_TEST change,
there is nothing actionable for you, except review if you wish.
next prev parent reply other threads:[~2024-10-28 14:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-27 9:36 kernel test robot
2024-10-28 10:56 ` Breno Leitao
2024-10-28 14:10 ` Vladimir Oltean [this message]
2024-10-28 15:24 ` Breno Leitao
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=20241028141051.eoltcyf37lf5dsyp@skbuf \
--to=vladimir.oltean@nxp.com \
--cc=kuba@kernel.org \
--cc=leitao@debian.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.com \
--cc=madalin.bucur@nxp.com \
--cc=oe-kbuild-all@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®