[chenxing:mstar_v6_5_reorder 290/700] drivers/gpio/gpio-ssd210.c:448:22: warning: unused variable 'offset'
kernel test robot <[email protected]> Sat, 01 Aug 2026 17:41:58 +0800
| Newsgroups | dev.linux.lists.oe-kbuild-all |
|---|---|
| Message-ID | <[email protected]> |
tree: https://github.com/linux-chenxing/linux.git mstar_v6_5_reorder head: 1a5c60e65ea399670a5384b869c4958338af2799 commit: 2833a14b64ac977478b34e1993f75fe0a2aaa4b9 [290/700] gpio: mstar: ssd210 gpio support config: nios2-allmodconfig (https://download.01.org/0day-ci/archive/20260801/[email protected]/config) compiler: nios2-linux-gcc (GCC) 11.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260801/[email protected]/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 <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ All warnings (new ones prefixed by >>): drivers/gpio/gpio-ssd210.c: In function 'ssd210_gpio_child_to_parent_hwirq': >> drivers/gpio/gpio-ssd210.c:448:22: warning: unused variable 'offset' [-Wunused-variable] 448 | unsigned int offset = priv->gpio_data->offsets[child]; | ^~~~~~ vim +/offset +448 drivers/gpio/gpio-ssd210.c 440 441 static int ssd210_gpio_child_to_parent_hwirq(struct gpio_chip *chip, 442 unsigned int child, 443 unsigned int child_type, 444 unsigned int *parent, 445 unsigned int *parent_type) 446 { 447 struct ssd210_gpio *priv = gpiochip_get_data(chip); > 448 unsigned int offset = priv->gpio_data->offsets[child]; 449 450 return -EINVAL; 451 } 452 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki