lkml.org 
[lkml]   [2017]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] regulator: devres: introduce managed enable and disable operations
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
--
drivers/hwmon/adc128d818.c: In function 'adc128_probe':
>> drivers/hwmon/adc128d818.c:456:3: error: implicit declaration of function 'regulator_disable' [-Werror=implicit-function-declaration]
regulator_disable(data->regulator);
^
cc1: some warnings being treated as errors
--
drivers/hwmon/sht15.c: In function 'sht15_probe':
>> drivers/hwmon/sht15.c:972:4: error: implicit declaration of function 'regulator_disable' [-Werror=implicit-function-declaration]
regulator_disable(data->reg);
^
cc1: some warnings being treated as errors
--
drivers/iio/adc/ad7298.c: In function 'ad7298_probe':
>> drivers/iio/adc/ad7298.c:355:3: error: implicit declaration of function 'regulator_disable' [-Werror=implicit-function-declaration]
regulator_disable(st->reg);
^
cc1: some warnings being treated as errors
--
drivers/iio/adc/ad7923.c: In function 'ad7923_probe':
>> drivers/iio/adc/ad7923.c:331:2: error: implicit declaration of function 'regulator_disable' [-Werror=implicit-function-declaration]
regulator_disable(st->reg);
^
cc1: some warnings being treated as errors
--
drivers/iio/adc/ad7791.c: In function 'ad7791_probe':
>> drivers/iio/adc/ad7791.c:405:2: error: implicit declaration of function 'regulator_disable' [-Werror=implicit-function-declaration]
regulator_disable(st->reg);
^
cc1: some warnings being treated as errors
--
drivers/iio/adc/ad7887.c: In function 'ad7887_probe':
>> drivers/iio/adc/ad7887.c:332:3: error: implicit declaration of function 'regulator_disable' [-Werror=implicit-function-declaration]
regulator_disable(st->reg);
^
cc1: some warnings being treated as errors
--
drivers/iio/adc/twl4030-madc.c: In function 'twl4030_madc_remove':
>> drivers/iio/adc/twl4030-madc.c:901:2: error: implicit declaration of function 'regulator_disable' [-Werror=implicit-function-declaration]
regulator_disable(madc->usb3v1);
^
cc1: some warnings being treated as errors
--
drivers/iio/adc/ad7476.c: In function 'ad7476_probe':
>> drivers/iio/adc/ad7476.c:260:2: error: implicit declaration of function 'regulator_disable' [-Werror=implicit-function-declaration]
regulator_disable(st->reg);
^
cc1: some warnings being treated as errors
--
drivers/iio/adc/ad799x.c: In function 'ad799x_probe':
>> drivers/iio/adc/ad799x.c:852:2: error: implicit declaration of function 'regulator_disable' [-Werror=implicit-function-declaration]
regulator_disable(st->vref);
^
cc1: some warnings being treated as errors
--
drivers/iio/adc/max1363.c: In function 'max1363_probe':
>> drivers/iio/adc/max1363.c:1686:3: error: implicit declaration of function 'regulator_disable' [-Werror=implicit-function-declaration]
regulator_disable(st->vref);
^
cc1: some warnings being treated as errors
..

vim +/regulator_disable +664 drivers/gpu/drm/bridge/analogix-anx78xx.c

0647e7dd Enric Balletbo i Serra 2016-05-02 658 usleep_range(1000, 2000);
0647e7dd Enric Balletbo i Serra 2016-05-02 659
0647e7dd Enric Balletbo i Serra 2016-05-02 660 gpiod_set_value_cansleep(pdata->gpiod_pd, 1);
0647e7dd Enric Balletbo i Serra 2016-05-02 661 usleep_range(1000, 2000);
0647e7dd Enric Balletbo i Serra 2016-05-02 662
0647e7dd Enric Balletbo i Serra 2016-05-02 663 if (pdata->dvdd10) {
0647e7dd Enric Balletbo i Serra 2016-05-02 @664 err = regulator_disable(pdata->dvdd10);
0647e7dd Enric Balletbo i Serra 2016-05-02 665 if (err) {
0647e7dd Enric Balletbo i Serra 2016-05-02 666 DRM_ERROR("Failed to disable DVDD10 regulator: %d\n",
0647e7dd Enric Balletbo i Serra 2016-05-02 667 err);

:::::: The code at line 664 was first introduced by commit
:::::: 0647e7dd3f7ab2e0490691eae185ab0c49fc266f drm/bridge: Add Analogix anx78xx support

:::::: TO: Enric Balletbo i Serra <enric.balletbo@collabora.com>
:::::: CC: Thierry Reding <treding@nvidia.com>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2017-02-13 03:01    [W:0.216 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site