tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 6f923748057a4f6aa187e0d5b22990d633a48d12 commit: 9b82ec85ebb326d20553220945bad1cc203b8805 [6479/7353] Merge branch 'ib-sophgo-pintrl' into devel config: sparc64-randconfig-r123-20240828 (https://download.01.org/0day-ci/archive/20240828/202408281749.gNRV7S8v-lkp@xxxxxxxxx/config) compiler: sparc64-linux-gcc (GCC) 14.1.0 reproduce: (https://download.01.org/0day-ci/archive/20240828/202408281749.gNRV7S8v-lkp@xxxxxxxxx/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 | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202408281749.gNRV7S8v-lkp@xxxxxxxxx/ sparse warnings: (new ones prefixed by >>) drivers/pinctrl/sophgo/pinctrl-cv18xx.c:141:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *reg @@ got void [noderef] __iomem * @@ drivers/pinctrl/sophgo/pinctrl-cv18xx.c:141:13: sparse: expected void *reg drivers/pinctrl/sophgo/pinctrl-cv18xx.c:141:13: sparse: got void [noderef] __iomem * >> drivers/pinctrl/sophgo/pinctrl-cv18xx.c:142:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void *reg @@ drivers/pinctrl/sophgo/pinctrl-cv18xx.c:142:23: sparse: expected void const volatile [noderef] __iomem *addr drivers/pinctrl/sophgo/pinctrl-cv18xx.c:142:23: sparse: got void *reg drivers/pinctrl/sophgo/pinctrl-cv18xx.c:146:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *reg @@ got void [noderef] __iomem * @@ drivers/pinctrl/sophgo/pinctrl-cv18xx.c:146:21: sparse: expected void *reg drivers/pinctrl/sophgo/pinctrl-cv18xx.c:146:21: sparse: got void [noderef] __iomem * drivers/pinctrl/sophgo/pinctrl-cv18xx.c:147:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void *reg @@ drivers/pinctrl/sophgo/pinctrl-cv18xx.c:147:31: sparse: expected void const volatile [noderef] __iomem *addr drivers/pinctrl/sophgo/pinctrl-cv18xx.c:147:31: sparse: got void *reg drivers/pinctrl/sophgo/pinctrl-cv18xx.c:152:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *reg @@ got void [noderef] __iomem * @@ drivers/pinctrl/sophgo/pinctrl-cv18xx.c:152:21: sparse: expected void *reg drivers/pinctrl/sophgo/pinctrl-cv18xx.c:152:21: sparse: got void [noderef] __iomem * drivers/pinctrl/sophgo/pinctrl-cv18xx.c:153:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void *reg @@ drivers/pinctrl/sophgo/pinctrl-cv18xx.c:153:31: sparse: expected void const volatile [noderef] __iomem *addr drivers/pinctrl/sophgo/pinctrl-cv18xx.c:153:31: sparse: got void *reg vim +142 drivers/pinctrl/sophgo/pinctrl-cv18xx.c a29d8e93e710e9 Inochi Amaoto 2024-08-02 120 a29d8e93e710e9 Inochi Amaoto 2024-08-02 121 static void cv1800_pctrl_dbg_show(struct pinctrl_dev *pctldev, a29d8e93e710e9 Inochi Amaoto 2024-08-02 122 struct seq_file *seq, unsigned int pin_id) a29d8e93e710e9 Inochi Amaoto 2024-08-02 123 { a29d8e93e710e9 Inochi Amaoto 2024-08-02 124 struct cv1800_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); a29d8e93e710e9 Inochi Amaoto 2024-08-02 125 struct cv1800_pin *pin = cv1800_get_pin(pctrl, pin_id); a29d8e93e710e9 Inochi Amaoto 2024-08-02 126 enum cv1800_pin_io_type type = cv1800_pin_io_type(pin); a29d8e93e710e9 Inochi Amaoto 2024-08-02 127 u32 value; a29d8e93e710e9 Inochi Amaoto 2024-08-02 128 void *reg; a29d8e93e710e9 Inochi Amaoto 2024-08-02 129 a29d8e93e710e9 Inochi Amaoto 2024-08-02 130 if (pin->pin >> PIN_BGA_ID_OFFSET) a29d8e93e710e9 Inochi Amaoto 2024-08-02 131 seq_printf(seq, "pos: %c%u ", a29d8e93e710e9 Inochi Amaoto 2024-08-02 132 'A' + (pin->pin >> PIN_BGA_ID_OFFSET) - 1, a29d8e93e710e9 Inochi Amaoto 2024-08-02 133 pin->pin & PIN_BGA_ID_MASK); a29d8e93e710e9 Inochi Amaoto 2024-08-02 134 else a29d8e93e710e9 Inochi Amaoto 2024-08-02 135 seq_printf(seq, "pos: %u ", pin->pin); a29d8e93e710e9 Inochi Amaoto 2024-08-02 136 a29d8e93e710e9 Inochi Amaoto 2024-08-02 137 seq_printf(seq, "power-domain: %s ", a29d8e93e710e9 Inochi Amaoto 2024-08-02 138 cv1800_get_power_cfg_desc(pctrl, pin->power_domain)); a29d8e93e710e9 Inochi Amaoto 2024-08-02 139 seq_printf(seq, "type: %s ", io_type_desc[type]); a29d8e93e710e9 Inochi Amaoto 2024-08-02 140 a29d8e93e710e9 Inochi Amaoto 2024-08-02 141 reg = cv1800_pinctrl_get_component_addr(pctrl, &pin->mux); a29d8e93e710e9 Inochi Amaoto 2024-08-02 @142 value = readl(reg); a29d8e93e710e9 Inochi Amaoto 2024-08-02 143 seq_printf(seq, "mux: 0x%08x ", value); a29d8e93e710e9 Inochi Amaoto 2024-08-02 144 a29d8e93e710e9 Inochi Amaoto 2024-08-02 145 if (pin->flags & CV1800_PIN_HAVE_MUX2) { a29d8e93e710e9 Inochi Amaoto 2024-08-02 146 reg = cv1800_pinctrl_get_component_addr(pctrl, &pin->mux2); a29d8e93e710e9 Inochi Amaoto 2024-08-02 147 value = readl(reg); a29d8e93e710e9 Inochi Amaoto 2024-08-02 148 seq_printf(seq, "mux2: 0x%08x ", value); a29d8e93e710e9 Inochi Amaoto 2024-08-02 149 } a29d8e93e710e9 Inochi Amaoto 2024-08-02 150 a29d8e93e710e9 Inochi Amaoto 2024-08-02 151 if (type == IO_TYPE_1V8_ONLY || type == IO_TYPE_1V8_OR_3V3) { a29d8e93e710e9 Inochi Amaoto 2024-08-02 152 reg = cv1800_pinctrl_get_component_addr(pctrl, &pin->conf); a29d8e93e710e9 Inochi Amaoto 2024-08-02 153 value = readl(reg); a29d8e93e710e9 Inochi Amaoto 2024-08-02 154 seq_printf(seq, "conf: 0x%08x ", value); a29d8e93e710e9 Inochi Amaoto 2024-08-02 155 } a29d8e93e710e9 Inochi Amaoto 2024-08-02 156 } a29d8e93e710e9 Inochi Amaoto 2024-08-02 157 :::::: The code at line 142 was first introduced by commit :::::: a29d8e93e710e97863d5bb4e4b6079d6c7daab81 pinctrl: sophgo: add support for CV1800B SoC :::::: TO: Inochi Amaoto <inochiama@xxxxxxxxxxx> :::::: CC: Linus Walleij <linus.walleij@xxxxxxxxxx> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki