* drivers/clk/microchip/clk-mpfs.c:505:60: sparse: sparse: incorrect type in argument 2 (different address spaces)
@ 2026-06-25 16:37 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-06-25 16:37 UTC (permalink / raw)
To: Conor Dooley; +Cc: oe-kbuild-all, linux-kernel, Philipp Zabel
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-25 16:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-25 16:37 drivers/clk/microchip/clk-mpfs.c:505:60: sparse: sparse: incorrect type in argument 2 (different address spaces) kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox