tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git gpio-driver-h head: ca5f5119acf7606ed3b8731630d1736004db44d7 commit: ca5f5119acf7606ed3b8731630d1736004db44d7 [66/66] gpio: Get rid of legacy header config: x86_64-randconfig-x019-201836 (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: git checkout ca5f5119acf7606ed3b8731630d1736004db44d7 # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): drivers/gpio/gpiolib-sysfs.c: In function 'gpio_to_valid_desc': >> drivers/gpio/gpiolib-sysfs.c:448:9: error: implicit declaration of function 'gpio_is_valid'; did you mean 'pin_is_valid'? [-Werror=implicit-function-declaration] return gpio_is_valid(gpio) ? gpio_to_desc(gpio) : NULL; ^~~~~~~~~~~~~ pin_is_valid cc1: some warnings being treated as errors vim +448 drivers/gpio/gpiolib-sysfs.c 0eb4c6c2 Alexandre Courbot 2014-07-01 445 90b05b05 Masami Hiramatsu 2017-08-02 446 static struct gpio_desc *gpio_to_valid_desc(int gpio) 90b05b05 Masami Hiramatsu 2017-08-02 447 { 90b05b05 Masami Hiramatsu 2017-08-02 @448 return gpio_is_valid(gpio) ? gpio_to_desc(gpio) : NULL; 90b05b05 Masami Hiramatsu 2017-08-02 449 } 90b05b05 Masami Hiramatsu 2017-08-02 450 :::::: The code at line 448 was first introduced by commit :::::: 90b05b0598c698252d5f7dcdce335c5a546e9047 gpio: reject invalid gpio before getting gpio_desc :::::: TO: Masami Hiramatsu <mhiramat@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