* [chrome-os:chromeos-5.10 166/250] drivers/opp/core.c:2838:9: error: implicit declaration of function 'regulator_sync_voltage'
@ 2021-08-27 15:56 kernel test robot
2021-08-27 16:44 ` Stephen Boyd
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2021-08-27 15:56 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3056 bytes --]
tree: https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.10
head: 000af78120e6bc7c36797433dbfae6f52e91dbd8
commit: f59a73f68caa86969f0649cd9c29f8f7a019a064 [166/250] UPSTREAM: opp: Add dev_pm_opp_sync_regulators()
config: x86_64-buildonly-randconfig-r003-20210827 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 1076082a0d97bd5c16a25ee7cf3dbb6ee4b5a9fe)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git remote add chrome-os https://chromium.googlesource.com/chromiumos/third_party/kernel
git fetch --no-tags chrome-os chromeos-5.10
git checkout f59a73f68caa86969f0649cd9c29f8f7a019a064
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/opp/core.c:2838:9: error: implicit declaration of function 'regulator_sync_voltage' [-Werror,-Wimplicit-function-declaration]
ret = regulator_sync_voltage(reg);
^
drivers/opp/core.c:2838:9: note: did you mean 'regulator_set_voltage'?
include/linux/regulator/consumer.h:472:19: note: 'regulator_set_voltage' declared here
static inline int regulator_set_voltage(struct regulator *regulator,
^
1 error generated.
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for SKB_EXTENSIONS
Depends on NET
Selected by
- KCOV && ARCH_HAS_KCOV && (CC_HAS_SANCOV_TRACE_PC || GCC_PLUGINS
vim +/regulator_sync_voltage +2838 drivers/opp/core.c
2808
2809 /**
2810 * dev_pm_opp_sync_regulators() - Sync state of voltage regulators
2811 * @dev: device for which we do this operation
2812 *
2813 * Sync voltage state of the OPP table regulators.
2814 *
2815 * Return: 0 on success or a negative error value.
2816 */
2817 int dev_pm_opp_sync_regulators(struct device *dev)
2818 {
2819 struct opp_table *opp_table;
2820 struct regulator *reg;
2821 int i, ret = 0;
2822
2823 /* Device may not have OPP table */
2824 opp_table = _find_opp_table(dev);
2825 if (IS_ERR(opp_table))
2826 return 0;
2827
2828 /* Regulator may not be required for the device */
2829 if (unlikely(!opp_table->regulators))
2830 goto put_table;
2831
2832 /* Nothing to sync if voltage wasn't changed */
2833 if (!opp_table->enabled)
2834 goto put_table;
2835
2836 for (i = 0; i < opp_table->regulator_count; i++) {
2837 reg = opp_table->regulators[i];
> 2838 ret = regulator_sync_voltage(reg);
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 32867 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [chrome-os:chromeos-5.10 166/250] drivers/opp/core.c:2838:9: error: implicit declaration of function 'regulator_sync_voltage'
2021-08-27 15:56 [chrome-os:chromeos-5.10 166/250] drivers/opp/core.c:2838:9: error: implicit declaration of function 'regulator_sync_voltage' kernel test robot
@ 2021-08-27 16:44 ` Stephen Boyd
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Boyd @ 2021-08-27 16:44 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3925 bytes --]
+Rob Clark <robdclark@google.com>
On Fri, Aug 27, 2021, 9:01 AM kernel test robot <lkp@intel.com> wrote:
> tree: https://chromium.googlesource.com/chromiumos/third_party/kernel
> chromeos-5.10
> head: 000af78120e6bc7c36797433dbfae6f52e91dbd8
> commit: f59a73f68caa86969f0649cd9c29f8f7a019a064 [166/250] UPSTREAM: opp:
> Add dev_pm_opp_sync_regulators()
> config: x86_64-buildonly-randconfig-r003-20210827 (attached as .config)
> compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project
> 1076082a0d97bd5c16a25ee7cf3dbb6ee4b5a9fe)
> reproduce (this is a W=1 build):
> wget
> https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross
> -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> git remote add chrome-os
> https://chromium.googlesource.com/chromiumos/third_party/kernel
> git fetch --no-tags chrome-os chromeos-5.10
> git checkout f59a73f68caa86969f0649cd9c29f8f7a019a064
> # save the attached .config to linux build tree
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross
> ARCH=x86_64
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
>
> All errors (new ones prefixed by >>):
>
> >> drivers/opp/core.c:2838:9: error: implicit declaration of function
> 'regulator_sync_voltage' [-Werror,-Wimplicit-function-declaration]
> ret = regulator_sync_voltage(reg);
> ^
> drivers/opp/core.c:2838:9: note: did you mean 'regulator_set_voltage'?
> include/linux/regulator/consumer.h:472:19: note:
> 'regulator_set_voltage' declared here
> static inline int regulator_set_voltage(struct regulator *regulator,
> ^
> 1 error generated.
>
> Kconfig warnings: (for reference only)
> WARNING: unmet direct dependencies detected for SKB_EXTENSIONS
> Depends on NET
> Selected by
> - KCOV && ARCH_HAS_KCOV && (CC_HAS_SANCOV_TRACE_PC || GCC_PLUGINS
>
>
> vim +/regulator_sync_voltage +2838 drivers/opp/core.c
>
> 2808
> 2809 /**
> 2810 * dev_pm_opp_sync_regulators() - Sync state of voltage regulators
> 2811 * @dev: device for which we do this operation
> 2812 *
> 2813 * Sync voltage state of the OPP table regulators.
> 2814 *
> 2815 * Return: 0 on success or a negative error value.
> 2816 */
> 2817 int dev_pm_opp_sync_regulators(struct device *dev)
> 2818 {
> 2819 struct opp_table *opp_table;
> 2820 struct regulator *reg;
> 2821 int i, ret = 0;
> 2822
> 2823 /* Device may not have OPP table */
> 2824 opp_table = _find_opp_table(dev);
> 2825 if (IS_ERR(opp_table))
> 2826 return 0;
> 2827
> 2828 /* Regulator may not be required for the device */
> 2829 if (unlikely(!opp_table->regulators))
> 2830 goto put_table;
> 2831
> 2832 /* Nothing to sync if voltage wasn't changed */
> 2833 if (!opp_table->enabled)
> 2834 goto put_table;
> 2835
> 2836 for (i = 0; i < opp_table->regulator_count; i++) {
> 2837 reg = opp_table->regulators[i];
> > 2838 ret = regulator_sync_voltage(reg);
>
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
>
> --
> You received this message because you are subscribed to the Google Groups
> "cros-kernel-buildreports" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cros-kernel-buildreports+unsubscribe(a)googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/cros-kernel-buildreports/202108272351.y50DA6Wt-lkp%40intel.com
> .
>
[-- Attachment #2: attachment.htm --]
[-- Type: text/html, Size: 5614 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-08-27 16:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-27 15:56 [chrome-os:chromeos-5.10 166/250] drivers/opp/core.c:2838:9: error: implicit declaration of function 'regulator_sync_voltage' kernel test robot
2021-08-27 16:44 ` Stephen Boyd
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.