tree:
https://github.com/thierryreding/linux for-5.8/gpio
head: 7bf6a172582da9ec37054f5db206308e6bda0ac4
commit: ef26cf803b6588a982129fb633b4d8dd08833640 [1/4] gpio: Support GPIO controllers
without pin-ranges
config: mips-jmr3927_defconfig (attached as .config)
compiler: mips-linux-gcc (GCC) 9.2.0
reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout ef26cf803b6588a982129fb633b4d8dd08833640
# save the attached .config to linux build tree
GCC_VERSION=9.2.0 make.cross ARCH=mips
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:2792:32: error: 'struct
gpio_device' has no member named 'pin_ranges'
2792 | if
(!list_empty(&chip->gpiodev->pin_ranges))
| ^~
vim +2792 drivers/gpio/gpiolib.c
2784
2785 /**
2786 * gpiochip_generic_request() - request the gpio function for a pin
2787 * @chip: the gpiochip owning the GPIO
2788 * @offset: the offset of the GPIO to request for GPIO function
2789 */
2790 int gpiochip_generic_request(struct gpio_chip *chip, unsigned offset)
2791 {
2792 if (!list_empty(&chip->gpiodev->pin_ranges))
2793 return pinctrl_gpio_request(chip->gpiodev->base + offset);
2794
2795 return 0;
2796 }
2797 EXPORT_SYMBOL_GPL(gpiochip_generic_request);
2798
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org