All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/usb/dwc3/core.c:796:45: sparse: sparse: incorrect type in argument 1 (different address spaces)
@ 2026-05-14 21:25 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-05-14 21:25 UTC (permalink / raw)
  Cc: oe-kbuild-all, linux-kernel

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   66182ca873a4e87b3496eca79d57f86b76d7f52d
commit: de6c925db978004703944585e9dd57d58aba0fac Merge 7.0-rc4 into usb-next
date:   8 weeks ago
config: i386-randconfig-063 (https://download.01.org/0day-ci/archive/20260515/202605150540.X43iAYqH-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260515/202605150540.X43iAYqH-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: de6c925db978 ("Merge 7.0-rc4 into usb-next")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202605150540.X43iAYqH-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/usb/dwc3/core.c:796:45: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected struct dwc3 *dwc @@     got void [noderef] __iomem *regs @@
   drivers/usb/dwc3/core.c:796:45: sparse:     expected struct dwc3 *dwc
   drivers/usb/dwc3/core.c:796:45: sparse:     got void [noderef] __iomem *regs
   drivers/usb/dwc3/core.c:798:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected struct dwc3 *dwc @@     got void [noderef] __iomem *regs @@
   drivers/usb/dwc3/core.c:798:40: sparse:     expected struct dwc3 *dwc
   drivers/usb/dwc3/core.c:798:40: sparse:     got void [noderef] __iomem *regs

vim +796 drivers/usb/dwc3/core.c

30a46746ca5a1ef Krishna Kurapati 2024-04-20  784  
a28de6335657561 Ingo Rohloff     2026-03-05  785  static void dwc3_ulpi_setup(struct dwc3 *dwc)
a28de6335657561 Ingo Rohloff     2026-03-05  786  {
a28de6335657561 Ingo Rohloff     2026-03-05  787  	int index;
a28de6335657561 Ingo Rohloff     2026-03-05  788  	u32 reg;
a28de6335657561 Ingo Rohloff     2026-03-05  789  
a28de6335657561 Ingo Rohloff     2026-03-05  790  	/* Don't do anything if there is no ULPI PHY */
a28de6335657561 Ingo Rohloff     2026-03-05  791  	if (!dwc->ulpi)
a28de6335657561 Ingo Rohloff     2026-03-05  792  		return;
a28de6335657561 Ingo Rohloff     2026-03-05  793  
a28de6335657561 Ingo Rohloff     2026-03-05  794  	if (dwc->enable_usb2_transceiver_delay) {
a28de6335657561 Ingo Rohloff     2026-03-05  795  		for (index = 0; index < dwc->num_usb2_ports; index++) {
a28de6335657561 Ingo Rohloff     2026-03-05 @796  			reg = dwc3_readl(dwc->regs, DWC3_GUSB2PHYCFG(index));
a28de6335657561 Ingo Rohloff     2026-03-05  797  			reg |= DWC3_GUSB2PHYCFG_XCVRDLY;
a28de6335657561 Ingo Rohloff     2026-03-05  798  			dwc3_writel(dwc->regs, DWC3_GUSB2PHYCFG(index), reg);
a28de6335657561 Ingo Rohloff     2026-03-05  799  		}
a28de6335657561 Ingo Rohloff     2026-03-05  800  	}
a28de6335657561 Ingo Rohloff     2026-03-05  801  }
a28de6335657561 Ingo Rohloff     2026-03-05  802  

:::::: The code at line 796 was first introduced by commit
:::::: a28de63356575612954d4e5d5f48a2488f50e16d usb: dwc3: Support USB3340x ULPI PHY high-speed negotiation.

:::::: TO: Ingo Rohloff <ingo.rohloff@lauterbach.com>
:::::: CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

--
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-05-14 21:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-14 21:25 drivers/usb/dwc3/core.c:796:45: sparse: sparse: incorrect type in argument 1 (different address spaces) kernel test robot

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.