tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel head: 2e80e10f2d71f42c6c8f82fc173b21be856acc0f commit: 78b99577b3934e3e787fe0c52aa1b59442c8bbb5 [49/52] pinctrl: remove unused pin_is_valid() config: nios2-10m50_defconfig (attached as .config) compiler: nios2-linux-gcc (GCC) 7.4.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 78b99577b3934e3e787fe0c52aa1b59442c8bbb5 # save the attached .config to linux build tree GCC_VERSION=7.4.0 make.cross ARCH=nios2 If you fix the issue, kindly add following tag Reported-by: kbuild test robot <lkp@xxxxxxxxx> All warnings (new ones prefixed by >>): In file included from include/asm-generic/gpio.h:13:0, from include/linux/gpio.h:62, from drivers/gpio/gpiolib.c:13: >> include/linux/gpio/driver.h:602:11: warning: 'struct pinctrl_dev' declared inside parameter list will not be visible outside of this definition or declaration struct pinctrl_dev *pctldev, ^~~~~~~~~~~ vim +602 include/linux/gpio/driver.h 964cb341 Linus Walleij 2015-03-18 592 964cb341 Linus Walleij 2015-03-18 593 static inline int 964cb341 Linus Walleij 2015-03-18 594 gpiochip_add_pin_range(struct gpio_chip *chip, const char *pinctl_name, 964cb341 Linus Walleij 2015-03-18 595 unsigned int gpio_offset, unsigned int pin_offset, 964cb341 Linus Walleij 2015-03-18 596 unsigned int npins) 964cb341 Linus Walleij 2015-03-18 597 { 964cb341 Linus Walleij 2015-03-18 598 return 0; 964cb341 Linus Walleij 2015-03-18 599 } 964cb341 Linus Walleij 2015-03-18 600 static inline int 964cb341 Linus Walleij 2015-03-18 601 gpiochip_add_pingroup_range(struct gpio_chip *chip, 964cb341 Linus Walleij 2015-03-18 @602 struct pinctrl_dev *pctldev, 964cb341 Linus Walleij 2015-03-18 603 unsigned int gpio_offset, const char *pin_group) 964cb341 Linus Walleij 2015-03-18 604 { 964cb341 Linus Walleij 2015-03-18 605 return 0; 964cb341 Linus Walleij 2015-03-18 606 } 964cb341 Linus Walleij 2015-03-18 607 :::::: The code at line 602 was first introduced by commit :::::: 964cb341882f920a1a1043864178f22def3193e4 gpio: move pincontrol calls to <linux/gpio/driver.h> :::::: TO: Linus Walleij <linus.walleij@xxxxxxxxxx> :::::: CC: Linus Walleij <linus.walleij@xxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip