tree:
https://github.com/thierryreding/linux for-5.6/nouveau
head: 3a536588f14e8684b2d6b6257dfa1d8f6f88becd
commit: e16c10453d5198fbc8e1ac2a50246f8dfac5d6e8 [89/138] gpio: Support GPIO controllers
without pin-ranges
config: x86_64-lkp (attached as .config)
compiler: gcc-7 (Debian 7.5.0-1) 7.5.0
reproduce:
git checkout e16c10453d5198fbc8e1ac2a50246f8dfac5d6e8
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/gpio/gpiolib.c: In function 'gpiochip_generic_request':
> drivers/gpio/gpiolib.c:2617:32: error: 'struct
gpio_device' has no member named 'pin_ranges'
if
(!list_empty(&chip->gpiodev->pin_ranges))
^~
vim +2617 drivers/gpio/gpiolib.c
2609
2610 /**
2611 * gpiochip_generic_request() - request the gpio function for a pin
2612 * @chip: the gpiochip owning the GPIO
2613 * @offset: the offset of the GPIO to request for GPIO function
2614 */
2615 int gpiochip_generic_request(struct gpio_chip *chip, unsigned offset)
2616 {
2617 if (!list_empty(&chip->gpiodev->pin_ranges))
2618 return pinctrl_gpio_request(chip->gpiodev->base + offset);
2619
2620 return 0;
2621 }
2622 EXPORT_SYMBOL_GPL(gpiochip_generic_request);
2623
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation