Re: [PATCH v2 1/8] mfd: tps65218: Remove redundant read wrapper

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi,

[auto build test ERROR on robh/for-next]
[also build test ERROR on v4.7-rc5 next-20160624]
[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/Keerthy/mfd-regulator-tps65218-Clean-ups/20160627-191539
base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
config: i386-randconfig-a0-201626 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers/gpio/gpio-tps65218.c: In function 'tps65218_gpio_get':
>> drivers/gpio/gpio-tps65218.c:33:8: error: implicit declaration of function 'tps65218_reg_read' [-Werror=implicit-function-declaration]
     ret = tps65218_reg_read(tps65218, TPS65218_REG_ENABLE2, &val);
           ^~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/tps65218_reg_read +33 drivers/gpio/gpio-tps65218.c

c366c76a Nicolas Saenz Julienne 2016-01-30  27  {
c366c76a Nicolas Saenz Julienne 2016-01-30  28  	struct tps65218_gpio *tps65218_gpio = gpiochip_get_data(gc);
c366c76a Nicolas Saenz Julienne 2016-01-30  29  	struct tps65218 *tps65218 = tps65218_gpio->tps65218;
c366c76a Nicolas Saenz Julienne 2016-01-30  30  	unsigned int val;
c366c76a Nicolas Saenz Julienne 2016-01-30  31  	int ret;
c366c76a Nicolas Saenz Julienne 2016-01-30  32  
c366c76a Nicolas Saenz Julienne 2016-01-30 @33  	ret = tps65218_reg_read(tps65218, TPS65218_REG_ENABLE2, &val);
c366c76a Nicolas Saenz Julienne 2016-01-30  34  	if (ret)
c366c76a Nicolas Saenz Julienne 2016-01-30  35  		return ret;
c366c76a Nicolas Saenz Julienne 2016-01-30  36  

:::::: The code at line 33 was first introduced by commit
:::::: c366c76a2c41d0c545e51b53056b21515db32e77 gpio: add tps65218 gpio

:::::: TO: Nicolas Saenz Julienne <nicolassaenzj@xxxxxxxxx>
:::::: 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: Binary data


[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux