pinctrl: tb10x: Mark base as __iomem
Subsystems (2)
Linus Walleij
maintainerPATCH 1/1 pinctrl: tb10x: Mark base as __iomem
The compile tests are complaining that this is not correctly typed.
Fixes 1982621decaf ("pinctrl: Allow compile testing for K210, TB10X and ZYNQ")
Reported-by kernel test robot <[email protected]>
Signed-off-by Linus Walleij <[email protected]>
--- drivers/pinctrl/pinctrl-tb10x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pinctrl/pinctrl-tb10x.c +1 -1
@@ -479,7 +479,7 @@ struct tb10x_port {*/ struct tb10x_pinctrl {struct pinctrl_dev *pctl; -void *base; +void __iomem *base;const struct tb10x_pinfuncgrp *pingroups;unsigned int pinfuncgrpcnt;unsigned int pinfuncnt;
---
base-commit: dc59e4fea9d83f03bad6bddf3fa2e52491777482
change-id: 20260630-tb10x-0360d5489542
Best regards,
Signature · 1 line
Linus Walleij <[email protected]>
Quoted 3 lines · Linus Walleij
The compile tests are complaining that this is not correctly typed.
Fixes 1982621decaf ("pinctrl: Allow compile testing for K210, TB10X and ZYNQ")
I do not think this is a correct fixes tag. The issue was introduced by whichever commit made iomem memory a plain pointer.
Issue was reproducible earlier, just not on x86.
Quoted 12 lines
Reported-by kernel test robot <[email protected]>Signed-off-by Linus Walleij <[email protected]>--- drivers/pinctrl/pinctrl-tb10x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/pinctrl/pinctrl-tb10x.c +0
-0
drivers/pinctrl/pinctrl-tb10x.c struct tb10x_port { · line 482
Quoted 5 lines
drivers/pinctrl/pinctrl-tb10x.c +1
-1@@ -479,7 +479,7 @@ struct tb10x_port {*/ struct tb10x_pinctrl {struct pinctrl_dev *pctl; -void *base; +void __iomem *base;
Best regards,
Krzysztof