From: kernel test robot <lkp@intel.com>
To: Rosen Penev <rosenp@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
Vinod Koul <vkoul@kernel.org>, Frank Li <Frank.Li@nxp.com>
Subject: drivers/dma/bestcomm/bestcomm.c:31:9: sparse: sparse: Initializer entry defined twice
Date: Thu, 03 Dec 2026 10:18:06 +0100 [thread overview]
Message-ID: <20261203101404.t3TCDPyS-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d06ce6f1eb5eeffd4ebcfde345dc34a98131d106
commit: 57946765c242005bdb16d17944c27662c8c5b013 dmaengine: bestcomm: Enable compile testing
date: 8 weeks ago
config: powerpc64-randconfig-r2300-20261203 (https://download.01.org/0day-ci/archive/20261203/20261203101404.t3TCDPyS-lkp@intel.com/config)
compiler: powerpc64-linux-gcc (GCC) 15.3.0
sparse: v0.6.5-rc1-94-g0d159c10
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261203/20261203101404.t3TCDPyS-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
| Fixes: 57946765c242 ("dmaengine: bestcomm: Enable compile testing")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/20261203101404.t3TCDPyS-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
drivers/dma/bestcomm/bestcomm.c:94:30: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *a @@ got struct bcom_bd *bd @@
drivers/dma/bestcomm/bestcomm.c:94:30: sparse: expected void volatile [noderef] __iomem *a
drivers/dma/bestcomm/bestcomm.c:94:30: sparse: got struct bcom_bd *bd
drivers/dma/bestcomm/bestcomm.c:185:19: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *a @@ got unsigned int [usertype] *[assigned] var @@
drivers/dma/bestcomm/bestcomm.c:185:19: sparse: expected void volatile [noderef] __iomem *a
drivers/dma/bestcomm/bestcomm.c:185:19: sparse: got unsigned int [usertype] *[assigned] var
drivers/dma/bestcomm/bestcomm.c:186:19: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *a @@ got unsigned int [usertype] *[assigned] inc @@
drivers/dma/bestcomm/bestcomm.c:186:19: sparse: expected void volatile [noderef] __iomem *a
drivers/dma/bestcomm/bestcomm.c:186:19: sparse: got unsigned int [usertype] *[assigned] inc
drivers/dma/bestcomm/bestcomm.c:192:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *d @@ got unsigned int [usertype] *[assigned] desc @@
drivers/dma/bestcomm/bestcomm.c:192:21: sparse: expected void volatile [noderef] __iomem *d
drivers/dma/bestcomm/bestcomm.c:192:21: sparse: got unsigned int [usertype] *[assigned] desc
drivers/dma/bestcomm/bestcomm.c:193:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *d @@ got unsigned int [usertype] * @@
drivers/dma/bestcomm/bestcomm.c:193:25: sparse: expected void volatile [noderef] __iomem *d
drivers/dma/bestcomm/bestcomm.c:193:25: sparse: got unsigned int [usertype] *
drivers/dma/bestcomm/bestcomm.c:194:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *d @@ got unsigned int [usertype] *[assigned] inc @@
drivers/dma/bestcomm/bestcomm.c:194:21: sparse: expected void volatile [noderef] __iomem *d
drivers/dma/bestcomm/bestcomm.c:194:21: sparse: got unsigned int [usertype] *[assigned] inc
drivers/dma/bestcomm/bestcomm.c:301:27: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *a @@ got struct bcom_tdt *tdt @@
drivers/dma/bestcomm/bestcomm.c:301:27: sparse: expected void volatile [noderef] __iomem *a
drivers/dma/bestcomm/bestcomm.c:301:27: sparse: got struct bcom_tdt *tdt
drivers/dma/bestcomm/bestcomm.c:302:27: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *a @@ got unsigned int [usertype] *ctx @@
drivers/dma/bestcomm/bestcomm.c:302:27: sparse: expected void volatile [noderef] __iomem *a
drivers/dma/bestcomm/bestcomm.c:302:27: sparse: got unsigned int [usertype] *ctx
drivers/dma/bestcomm/bestcomm.c:303:27: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *a @@ got unsigned int [usertype] *var @@
drivers/dma/bestcomm/bestcomm.c:303:27: sparse: expected void volatile [noderef] __iomem *a
drivers/dma/bestcomm/bestcomm.c:303:27: sparse: got unsigned int [usertype] *var
drivers/dma/bestcomm/bestcomm.c:304:27: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *a @@ got unsigned int [usertype] *fdt @@
drivers/dma/bestcomm/bestcomm.c:304:27: sparse: expected void volatile [noderef] __iomem *a
drivers/dma/bestcomm/bestcomm.c:304:27: sparse: got unsigned int [usertype] *fdt
drivers/dma/bestcomm/bestcomm.c:307:35: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *d @@ got unsigned int [usertype] * @@
drivers/dma/bestcomm/bestcomm.c:307:35: sparse: expected void volatile [noderef] __iomem *d
drivers/dma/bestcomm/bestcomm.c:307:35: sparse: got unsigned int [usertype] *
>> drivers/dma/bestcomm/bestcomm.c:31:9: sparse: sparse: Initializer entry defined twice
drivers/dma/bestcomm/bestcomm.c:32:9: sparse: also defined here
drivers/dma/bestcomm/bestcomm.c:456:9: sparse: sparse: Initializer entry defined twice
drivers/dma/bestcomm/bestcomm.c:457:9: sparse: also defined here
vim +31 drivers/dma/bestcomm/bestcomm.c
2f9ea1bde0d12d8 arch/powerpc/sysdev/bestcomm/bestcomm.c Sylvain Munaut 2007-09-16 27
66ffbe490b61568 arch/powerpc/sysdev/bestcomm/bestcomm.c Grant Likely 2008-01-24 28 /* MPC5200 device tree match tables */
57c0342239b028d drivers/dma/bestcomm/bestcomm.c Fabian Frederick 2015-03-16 29 static const struct of_device_id mpc52xx_sram_ids[] = {
66ffbe490b61568 arch/powerpc/sysdev/bestcomm/bestcomm.c Grant Likely 2008-01-24 30 { .compatible = "fsl,mpc5200-sram", },
66ffbe490b61568 arch/powerpc/sysdev/bestcomm/bestcomm.c Grant Likely 2008-01-24 @31 { .compatible = "mpc5200-sram", },
66ffbe490b61568 arch/powerpc/sysdev/bestcomm/bestcomm.c Grant Likely 2008-01-24 32 {}
66ffbe490b61568 arch/powerpc/sysdev/bestcomm/bestcomm.c Grant Likely 2008-01-24 33 };
66ffbe490b61568 arch/powerpc/sysdev/bestcomm/bestcomm.c Grant Likely 2008-01-24 34
2f9ea1bde0d12d8 arch/powerpc/sysdev/bestcomm/bestcomm.c Sylvain Munaut 2007-09-16 35
:::::: The code at line 31 was first introduced by commit
:::::: 66ffbe490b6156898364b3f20a571a78f8d77bc8 [POWERPC] mpc5200: normalize compatible property bindings
:::::: TO: Grant Likely <grant.likely@secretlab.ca>
:::::: CC: Grant Likely <grant.likely@secretlab.ca>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-12-03 9:18 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=20261203101404.t3TCDPyS-lkp@intel.com \
--to=lkp@intel.com \
--cc=Frank.Li@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=rosenp@gmail.com \
--cc=vkoul@kernel.org \
/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