From: kernel test robot <lkp@intel.com>
To: Conor Dooley <conor.dooley@microchip.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
Philipp Zabel <p.zabel@pengutronix.de>
Subject: drivers/clk/microchip/clk-mpfs.c:505:60: sparse: sparse: incorrect type in argument 2 (different address spaces)
Date: Fri, 26 Jun 2026 00:37:42 +0800 [thread overview]
Message-ID: <202606260045.CSWcl6Fm-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: ab9de95c9cf952332ab79453b4b5d1bfca8e514f
commit: 781f60e45bdfe351aad692ac0fa89e36f8bf4a36 reset: mpfs: add non-auxiliary bus probing
date: 8 months ago
config: sparc-randconfig-r131-20260625 (https://download.01.org/0day-ci/archive/20260626/202606260045.CSWcl6Fm-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 14.3.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260626/202606260045.CSWcl6Fm-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: 781f60e45bdf ("reset: mpfs: add non-auxiliary bus probing")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202606260045.CSWcl6Fm-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/clk/microchip/clk-mpfs.c:505:60: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *base @@ got struct regmap *regmap @@
drivers/clk/microchip/clk-mpfs.c:505:60: sparse: expected void [noderef] __iomem *base
drivers/clk/microchip/clk-mpfs.c:505:60: sparse: got struct regmap *regmap
vim +505 drivers/clk/microchip/clk-mpfs.c
485
486 static inline int mpfs_clk_old_format_probe(struct mpfs_clock_data *clk_data,
487 struct platform_device *pdev)
488 {
489 struct device *dev = &pdev->dev;
490
491 dev_warn(&pdev->dev, "falling back to old devicetree format");
492
493 clk_data->base = devm_platform_ioremap_resource(pdev, 0);
494 if (IS_ERR(clk_data->base))
495 return PTR_ERR(clk_data->base);
496
497 clk_data->msspll_base = devm_platform_ioremap_resource(pdev, 1);
498 if (IS_ERR(clk_data->msspll_base))
499 return PTR_ERR(clk_data->msspll_base);
500
501 clk_data->regmap = devm_regmap_init_mmio(dev, clk_data->base, &mpfs_clk_regmap_config);
502 if (IS_ERR(clk_data->regmap))
503 return PTR_ERR(clk_data->regmap);
504
> 505 return mpfs_reset_controller_register(dev, clk_data->regmap);
506 }
507
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-06-25 16:37 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=202606260045.CSWcl6Fm-lkp@intel.com \
--to=lkp@intel.com \
--cc=conor.dooley@microchip.com \
--cc=linux-kernel@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=p.zabel@pengutronix.de \
/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.