Re: drivers/base/power/opp/core.c:1901:6: error: redefinition of 'dev_pm_opp_remove_table'

From: Philip Li
Date: Mon Feb 13 2017 - 21:23:54 EST


On Mon, Feb 13, 2017 at 10:40:53AM +0000, Sudeep Holla wrote:
> On Sun, Feb 12, 2017 at 9:09 PM, kbuild test robot
> <fengguang.wu@xxxxxxxxx> wrote:
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > head: 1ce42845f987e92eabfc6e026d44d826c25c74a5
> > commit: 411466c5081d2f649b3583cae0f6c9ad5edec636 PM / OPP: add non-OF versions of dev_pm_opp_{cpumask_, }remove_table
> > date: 9 months ago
> > config: x86_64-randconfig-x008-201707 (attached as .config)
> > compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
> > reproduce:
> > git checkout 411466c5081d2f649b3583cae0f6c9ad5edec636
> > # save the attached .config to linux build tree
> > make ARCH=x86_64
> >
> > All errors (new ones prefixed by >>):
> >
> > from drivers/base/power/opp/core.c:25:
> > include/linux/pm_opp.h:119:34: note: previous definition of 'dev_pm_opp_find_freq_floor' was here
> > static inline struct dev_pm_opp *dev_pm_opp_find_freq_floor(struct device *dev,
> > ^~~~~~~~~~~~~~~~~~~~~~~~~~
>
> I am unable to reproduce this. The attached config says it's v4.6.0-rc5
> based but the head is @linus tip. I tried using the config but no luck,
> builds fine.
sorry, this is a false reporting, we will follow up to fix issue.

>
> --
> Regards,
> Sudeep
>