lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 6 Jul 2017 13:06:58 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Masahiro Yamada <yamada.masahiro@...ionext.com>
Cc:     kbuild-all@...org, linux-gpio@...r.kernel.org,
        Masahiro Yamada <yamada.masahiro@...ionext.com>,
        Linus Walleij <linus.walleij@...aro.org>,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] gpio: add COMPILE_TEST to several drivers

Hi Masahiro,

[auto build test ERROR on gpio/for-next]
[cannot apply to v4.12]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Masahiro-Yamada/gpio-add-COMPILE_TEST-to-several-drivers/20170706-070538
base:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git for-next
config: xtensa-allyesconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=xtensa 

All errors (new ones prefixed by >>):

   drivers//gpio/gpio-vf610.c: In function 'vf610_gpio_direction_input':
>> drivers//gpio/gpio-vf610.c:99:2: error: implicit declaration of function 'pinctrl_gpio_direction_input' [-Werror=implicit-function-declaration]
     return pinctrl_gpio_direction_input(chip->base + gpio);
     ^
   drivers//gpio/gpio-vf610.c: In function 'vf610_gpio_direction_output':
>> drivers//gpio/gpio-vf610.c:107:2: error: implicit declaration of function 'pinctrl_gpio_direction_output' [-Werror=implicit-function-declaration]
     return pinctrl_gpio_direction_output(chip->base + gpio);
     ^
   cc1: some warnings being treated as errors

vim +/pinctrl_gpio_direction_input +99 drivers//gpio/gpio-vf610.c

7f2691a1 Stefan Agner    2014-10-16   93  	else
7f2691a1 Stefan Agner    2014-10-16   94  		vf610_gpio_writel(mask, port->gpio_base + GPIO_PCOR);
7f2691a1 Stefan Agner    2014-10-16   95  }
7f2691a1 Stefan Agner    2014-10-16   96  
7f2691a1 Stefan Agner    2014-10-16   97  static int vf610_gpio_direction_input(struct gpio_chip *chip, unsigned gpio)
7f2691a1 Stefan Agner    2014-10-16   98  {
7f2691a1 Stefan Agner    2014-10-16  @99  	return pinctrl_gpio_direction_input(chip->base + gpio);
7f2691a1 Stefan Agner    2014-10-16  100  }
7f2691a1 Stefan Agner    2014-10-16  101  
7f2691a1 Stefan Agner    2014-10-16  102  static int vf610_gpio_direction_output(struct gpio_chip *chip, unsigned gpio,
7f2691a1 Stefan Agner    2014-10-16  103  				       int value)
7f2691a1 Stefan Agner    2014-10-16  104  {
7f2691a1 Stefan Agner    2014-10-16  105  	vf610_gpio_set(chip, gpio, value);
7f2691a1 Stefan Agner    2014-10-16  106  
7f2691a1 Stefan Agner    2014-10-16 @107  	return pinctrl_gpio_direction_output(chip->base + gpio);
7f2691a1 Stefan Agner    2014-10-16  108  }
7f2691a1 Stefan Agner    2014-10-16  109  
bd0b9ac4 Thomas Gleixner 2015-09-14  110  static void vf610_gpio_irq_handler(struct irq_desc *desc)

:::::: The code at line 99 was first introduced by commit
:::::: 7f2691a19627a8d7723909b6e82468fd4437e445 gpio: vf610: add gpiolib/IRQ chip driver for Vybrid

:::::: TO: Stefan Agner <stefan@...er.ch>
:::::: CC: Linus Walleij <linus.walleij@...aro.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/gzip" (50319 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ