linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [wsa:i2c/for-current 2/2] drivers/i2c/busses/i2c-imx-lpi2c.c:642:2: error: implicit declaration of function 'pinctrl_pm_select_sleep_state'
@ 2017-01-25 23:04 kbuild test robot
  2017-01-25 23:27 ` Wolfram Sang
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2017-01-25 23:04 UTC (permalink / raw)
  To: Gao Pan; +Cc: kbuild-all, linux-i2c, Wolfram Sang, Vladimir Zapolskiy

[-- Attachment #1: Type: text/plain, Size: 1959 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-current
head:   454f919e9afdf0a66576c3d22a2a8f39420c114e
commit: 454f919e9afdf0a66576c3d22a2a8f39420c114e [2/2] i2c: imx-lpi2c: add VLLS mode support
config: sparc64-allmodconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 454f919e9afdf0a66576c3d22a2a8f39420c114e
        # save the attached .config to linux build tree
        make.cross ARCH=sparc64 

All errors (new ones prefixed by >>):

   drivers/i2c/busses/i2c-imx-lpi2c.c: In function 'lpi2c_imx_suspend':
>> drivers/i2c/busses/i2c-imx-lpi2c.c:642:2: error: implicit declaration of function 'pinctrl_pm_select_sleep_state' [-Werror=implicit-function-declaration]
     pinctrl_pm_select_sleep_state(dev);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/i2c/busses/i2c-imx-lpi2c.c: In function 'lpi2c_imx_resume':
>> drivers/i2c/busses/i2c-imx-lpi2c.c:649: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 +642 drivers/i2c/busses/i2c-imx-lpi2c.c

   636		return 0;
   637	}
   638	
   639	#ifdef CONFIG_PM_SLEEP
   640	static int lpi2c_imx_suspend(struct device *dev)
   641	{
 > 642		pinctrl_pm_select_sleep_state(dev);
   643	
   644		return 0;
   645	}
   646	
   647	static int lpi2c_imx_resume(struct device *dev)
   648	{
 > 649		pinctrl_pm_select_default_state(dev);
   650	
   651		return 0;
   652	}

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 48623 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [wsa:i2c/for-current 2/2] drivers/i2c/busses/i2c-imx-lpi2c.c:642:2: error: implicit declaration of function 'pinctrl_pm_select_sleep_state'
  2017-01-25 23:04 [wsa:i2c/for-current 2/2] drivers/i2c/busses/i2c-imx-lpi2c.c:642:2: error: implicit declaration of function 'pinctrl_pm_select_sleep_state' kbuild test robot
@ 2017-01-25 23:27 ` Wolfram Sang
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfram Sang @ 2017-01-25 23:27 UTC (permalink / raw)
  To: kbuild test robot
  Cc: Gao Pan, kbuild-all, linux-i2c, Wolfram Sang, Vladimir Zapolskiy

[-- Attachment #1: Type: text/plain, Size: 440 bytes --]

>    drivers/i2c/busses/i2c-imx-lpi2c.c: In function 'lpi2c_imx_suspend':
> >> drivers/i2c/busses/i2c-imx-lpi2c.c:642:2: error: implicit declaration of function 'pinctrl_pm_select_sleep_state' [-Werror=implicit-function-declaration]
>      pinctrl_pm_select_sleep_state(dev);
>      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

OK, I added the missing include and amended the change. Branches were
not out for long, so I hope nobody notices the rebase.


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-01-25 23:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-25 23:04 [wsa:i2c/for-current 2/2] drivers/i2c/busses/i2c-imx-lpi2c.c:642:2: error: implicit declaration of function 'pinctrl_pm_select_sleep_state' kbuild test robot
2017-01-25 23:27 ` Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).