[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201606272018.UTkpVQyW%fengguang.wu@intel.com>
Date: Mon, 27 Jun 2016 20:20:10 +0800
From: kbuild test robot <lkp@...el.com>
To: Keerthy <j-keerthy@...com>
Cc: kbuild-all@...org, lee.jones@...aro.org, broonie@...nel.org,
tony@...mide.com, linux-omap@...r.kernel.org,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
robh+dt@...nel.org, linux-arm-kernel@...ts.infradead.org,
j-keerthy@...com
Subject: Re: [PATCH v2 1/8] mfd: tps65218: Remove redundant read wrapper
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: x86_64-randconfig-n0-06271854 (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=x86_64
All errors (new ones prefixed by >>):
drivers/input/misc/tps65218-pwrbutton.c: In function 'tps65218_pwr_irq':
>> drivers/input/misc/tps65218-pwrbutton.c:39:10: error: implicit declaration of function 'tps65218_reg_read' [-Werror=implicit-function-declaration]
error = tps65218_reg_read(pwr->tps, TPS65218_REG_STATUS, ®);
^~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/tps65218_reg_read +39 drivers/input/misc/tps65218-pwrbutton.c
5fafed3e Felipe Balbi 2014-12-27 33 static irqreturn_t tps65218_pwr_irq(int irq, void *_pwr)
5fafed3e Felipe Balbi 2014-12-27 34 {
5fafed3e Felipe Balbi 2014-12-27 35 struct tps65218_pwrbutton *pwr = _pwr;
5fafed3e Felipe Balbi 2014-12-27 36 unsigned int reg;
5fafed3e Felipe Balbi 2014-12-27 37 int error;
5fafed3e Felipe Balbi 2014-12-27 38
5fafed3e Felipe Balbi 2014-12-27 @39 error = tps65218_reg_read(pwr->tps, TPS65218_REG_STATUS, ®);
5fafed3e Felipe Balbi 2014-12-27 40 if (error) {
5fafed3e Felipe Balbi 2014-12-27 41 dev_err(pwr->dev, "can't read register: %d\n", error);
5fafed3e Felipe Balbi 2014-12-27 42 goto out;
:::::: The code at line 39 was first introduced by commit
:::::: 5fafed3e5612e9f308d20dc94adf5fc3d4a1a2a8 Input: add tps65218 power button driver
:::::: TO: Felipe Balbi <balbi@...com>
:::::: CC: Dmitry Torokhov <dmitry.torokhov@...il.com>
---
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/octet-stream" (22474 bytes)
Powered by blists - more mailing lists