[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201701032236.diYTk2U1%fengguang.wu@intel.com>
Date: Tue, 3 Jan 2017 22:34:36 +0800
From: kbuild test robot <lkp@...el.com>
To: Peter Chen <peter.chen@....com>
Cc: kbuild-all@...org, lgirdwood@...il.com, broonie@...nel.org,
linux-kernel@...r.kernel.org, Peter Chen <peter.chen@....com>
Subject: Re: [PATCH 1/1] regulator: fixed: add suspend pm routines for pinctrl
Hi Peter,
[auto build test ERROR on regulator/for-next]
[also build test ERROR on v4.10-rc2 next-20170103]
[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/Peter-Chen/regulator-fixed-add-suspend-pm-routines-for-pinctrl/20170103-214456
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
config: i386-randconfig-a0-201701 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
drivers/regulator/fixed.c: In function 'reg_fixed_voltage_suspend':
>> drivers/regulator/fixed.c:251:2: error: implicit declaration of function 'pinctrl_pm_select_sleep_state' [-Werror=implicit-function-declaration]
pinctrl_pm_select_sleep_state(dev);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/regulator/fixed.c: In function 'reg_fixed_voltage_resume':
>> drivers/regulator/fixed.c:257:2: error: implicit declaration of function 'pinctrl_pm_select_default_state' [-Werror=implicit-function-declaration]
pinctrl_pm_select_default_state(dev);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/pinctrl_pm_select_sleep_state +251 drivers/regulator/fixed.c
245 MODULE_DEVICE_TABLE(of, fixed_of_match);
246 #endif
247
248 #ifdef CONFIG_PM_SLEEP
249 static int reg_fixed_voltage_suspend(struct device *dev)
250 {
> 251 pinctrl_pm_select_sleep_state(dev);
252
253 return 0;
254 }
255 static int reg_fixed_voltage_resume(struct device *dev)
256 {
> 257 pinctrl_pm_select_default_state(dev);
258
259 return 0;
260 }
---
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" (20623 bytes)
Powered by blists - more mailing lists