Re: [PATCH] regulator: devres: introduce managed enable and disable operations

From: Dmitry Torokhov
Date: Sun Feb 12 2017 - 21:34:18 EST


On Mon, Feb 13, 2017 at 10:00:14AM +0800, kbuild test robot wrote:
> Hi Dmitry,
>
> [auto build test ERROR on regulator/for-next]
> [cannot apply to v4.10-rc8]
> [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/Dmitry-Torokhov/regulator-devres-introduce-managed-enable-and-disable-operations/20170213-085344
> base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
> config: x86_64-randconfig-n0-02130915 (attached as .config)
> compiler: gcc-4.8 (Debian 4.8.4-1) 4.8.4
> reproduce:
> # save the attached .config to linux build tree
> make ARCH=x86_64
>
> All errors (new ones prefixed by >>):
>
> drivers/gpu/drm/bridge/analogix-anx78xx.c: In function 'anx78xx_poweroff':
> >> drivers/gpu/drm/bridge/analogix-anx78xx.c:664:3: error: implicit declaration of function 'regulator_disable' [-Werror=implicit-function-declaration]
> err = regulator_disable(pdata->dvdd10);
> ^
> cc1: some warnings being treated as errors

So I lost stub for regulator_disable(), V2 of the patch sent.

Thanks.


--
Dmitry