Re: drivers/base/power/opp/cpu.c:48:5: error: redefinition of 'dev_pm_opp_init_cpufreq_table'
From: Viresh Kumar
Date: Mon Jan 23 2017 - 00:18:29 EST
On 23-01-17, 04:20, kbuild test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: c497f8d17246720afe680ea1a8fa6e48e75af852
> commit: 33692dc381f9b89ddfc408631bf670ac2fd08ffc PM / OPP: Move opp core to its own directory
> date: 1 year, 4 months ago
> config: powerpc-allyesconfig (attached as .config)
> compiler: powerpc64-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 33692dc381f9b89ddfc408631bf670ac2fd08ffc
> # save the attached .config to linux build tree
> make.cross ARCH=powerpc
>
> All errors (new ones prefixed by >>):
>
> >> drivers/base/power/opp/cpu.c:48:5: error: redefinition of 'dev_pm_opp_init_cpufreq_table'
> int dev_pm_opp_init_cpufreq_table(struct device *dev,
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from drivers/base/power/opp/cpu.c:13:0:
> include/linux/cpufreq.h:514:19: note: previous definition of 'dev_pm_opp_init_cpufreq_table' was here
> static inline int dev_pm_opp_init_cpufreq_table(struct device *dev,
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >> drivers/base/power/opp/cpu.c:106:6: error: redefinition of 'dev_pm_opp_free_cpufreq_table'
> void dev_pm_opp_free_cpufreq_table(struct device *dev,
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from drivers/base/power/opp/cpu.c:13:0:
> include/linux/cpufreq.h:521:20: note: previous definition of 'dev_pm_opp_free_cpufreq_table' was here
> static inline void dev_pm_opp_free_cpufreq_table(struct device *dev,
Looks to be an issue with the buildbot? The commit is almost 1.5 years
old.
--
viresh