Re: [PATCH v6 2/2] gpio: tps65219: Add support for TI TPS65214 PMIC
From: kernel test robot
Date: Fri Jul 04 2025 - 03:32:17 EST
Hi Shree,
kernel test robot noticed the following build errors:
[auto build test ERROR on v6.16-rc4]
[also build test ERROR on linus/master next-20250703]
[cannot apply to tmlind-omap/for-next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Shree-Ramamoorthy/gpio-tps65219-Update-_IDX-_OFFSET-macro-prefix/20250704-021048
base: v6.16-rc4
patch link: https://lore.kernel.org/r/20250703180751.168755-3-s-ramamoorthy%40ti.com
patch subject: [PATCH v6 2/2] gpio: tps65219: Add support for TI TPS65214 PMIC
config: hexagon-randconfig-002-20250704 (https://download.01.org/0day-ci/archive/20250704/202507041537.da8R2iEX-lkp@xxxxxxxxx/config)
compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project 61529d9e36fa86782a2458e6bdeedf7f376ef4b5)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250704/202507041537.da8R2iEX-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/202507041537.da8R2iEX-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
>> drivers/gpio/gpio-tps65219.c:208:14: error: incompatible function pointer types initializing 'int (*)(struct gpio_chip *, unsigned int, int)' with an expression of type 'void (struct gpio_chip *, unsigned int, int)' [-Wincompatible-function-pointer-types]
208 | .set_rv = tps65219_gpio_set,
| ^~~~~~~~~~~~~~~~~
drivers/gpio/gpio-tps65219.c:221:14: error: incompatible function pointer types initializing 'int (*)(struct gpio_chip *, unsigned int, int)' with an expression of type 'void (struct gpio_chip *, unsigned int, int)' [-Wincompatible-function-pointer-types]
221 | .set_rv = tps65219_gpio_set,
| ^~~~~~~~~~~~~~~~~
2 errors generated.
vim +208 drivers/gpio/gpio-tps65219.c
200
201 static const struct gpio_chip tps65214_template_chip = {
202 .label = "tps65214-gpio",
203 .owner = THIS_MODULE,
204 .get_direction = tps65214_gpio_get_direction,
205 .direction_input = tps65219_gpio_direction_input,
206 .direction_output = tps65219_gpio_direction_output,
207 .get = tps65219_gpio_get,
> 208 .set_rv = tps65219_gpio_set,
209 .base = -1,
210 .ngpio = 2,
211 .can_sleep = true,
212 };
213
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki