* [gpio:devel 19/27] drivers/gpio/gpiolib.c:2748:32: error: 'struct gpio_device' has no member named 'pin_ranges'
@ 2020-03-28 11:28 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-03-28 11:28 UTC (permalink / raw)
To: Thierry Reding; +Cc: kbuild-all, linux-gpio, Linus Walleij
[-- Attachment #1: Type: text/plain, Size: 1560 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git devel
head: 5f4bf171ca03b79f0ed7a17216fd854e50955617
commit: 2ab73c6d8323fa1eb02c16c07c40ba2ed17da729 [19/27] gpio: Support GPIO controllers without pin-ranges
config: i386-randconfig-a002-20200327 (attached as .config)
compiler: gcc-4.9 (Ubuntu 4.9.3-13ubuntu2) 4.9.3
reproduce:
git checkout 2ab73c6d8323fa1eb02c16c07c40ba2ed17da729
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/gpio/gpiolib.c: In function 'gpiochip_generic_request':
>> drivers/gpio/gpiolib.c:2748:32: error: 'struct gpio_device' has no member named 'pin_ranges'
if (!list_empty(&chip->gpiodev->pin_ranges))
^
vim +2748 drivers/gpio/gpiolib.c
2740
2741 /**
2742 * gpiochip_generic_request() - request the gpio function for a pin
2743 * @chip: the gpiochip owning the GPIO
2744 * @offset: the offset of the GPIO to request for GPIO function
2745 */
2746 int gpiochip_generic_request(struct gpio_chip *chip, unsigned offset)
2747 {
> 2748 if (!list_empty(&chip->gpiodev->pin_ranges))
2749 return pinctrl_gpio_request(chip->gpiodev->base + offset);
2750
2751 return 0;
2752 }
2753 EXPORT_SYMBOL_GPL(gpiochip_generic_request);
2754
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 31508 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-03-28 11:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-28 11:28 [gpio:devel 19/27] drivers/gpio/gpiolib.c:2748:32: error: 'struct gpio_device' has no member named 'pin_ranges' kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).