Re: drivers/pinctrl/pinctrl-tb10x.c:502:30: sparse: sparse: incorrect type in argument 1 (different address spaces)
From: Linus Walleij
Date: Tue Apr 28 2026 - 03:58:31 EST
On Mon, Apr 20, 2026 at 9:44 AM Krzysztof Kozlowski <krzk@xxxxxxxxxx> wrote:
> On 20/04/2026 03:44, kernel test robot wrote:
> > Hi Krzysztof,
> >
> > First bad commit (maybe != root cause):
> >
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > head: faeab166167f5787719eb8683661fd41a3bb1514
> > commit: 1982621decaf788d0611fc291fe89b297b6e5510 pinctrl: Allow compile testing for K210, TB10X and ZYNQ
> > date: 10 months ago
> > config: alpha-randconfig-r133-20260419
> > compiler: alpha-linux-gcc (GCC) 15.2.0
> > sparse: v0.6.5-rc1
> > reproduce (this is a W=1 build):
> >
> > 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: 1982621decaf ("pinctrl: Allow compile testing for K210, TB10X and ZYNQ")
>
> Hey Linus,
>
> This warning is obviously a benefit of compile testing, so issue did
> exist before.
Yep you're right. When I get to queue this up I can maybe cook a fix
at the same time.
Thanks,
Linus Walleij