Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1371078

drivers/base/power/opp/cpu.c:120:5: error: redefinition of 'dev_pm_opp_set_sharing_cpus'

From kbuild test robot <fengguang.wu@intel.com>
Newsgroups linux.kernel
Subject drivers/base/power/opp/cpu.c:120:5: error: redefinition of 'dev_pm_opp_set_sharing_cpus'
Date 2016-04-05 03:40 +0200
Message-ID <rko8i-3C9-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   9735a22799b9214d17d3c231fe377fc852f042e9
commit: f59d3ee8480d30f41914cb4bed5086237e8507b0 PM / OPP: Move cpu specific code to opp/cpu.c
date:   7 months ago
config: i386-randconfig-c0-04050854 (attached as .config)
reproduce:
        git checkout f59d3ee8480d30f41914cb4bed5086237e8507b0
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

>> drivers/base/power/opp/cpu.c:120:5: error: redefinition of 'dev_pm_opp_set_sharing_cpus'
    int dev_pm_opp_set_sharing_cpus(struct device *cpu_dev, cpumask_var_t cpumask)
        ^
   In file included from drivers/base/power/opp/opp.h:20:0,
                    from drivers/base/power/opp/cpu.c:21:
   include/linux/pm_opp.h:165:19: note: previous definition of 'dev_pm_opp_set_sharing_cpus' was here
    static inline int dev_pm_opp_set_sharing_cpus(struct device *cpu_dev, cpumask_var_t cpumask)
                      ^

vim +/dev_pm_opp_set_sharing_cpus +120 drivers/base/power/opp/cpu.c

   114		*table = NULL;
   115	}
   116	EXPORT_SYMBOL_GPL(dev_pm_opp_free_cpufreq_table);
   117	#endif	/* CONFIG_CPU_FREQ */
   118	
   119	/* Required only for V1 bindings, as v2 can manage it from DT itself */
 > 120	int dev_pm_opp_set_sharing_cpus(struct device *cpu_dev, cpumask_var_t cpumask)
   121	{
   122		struct device_list_opp *list_dev;
   123		struct device_opp *dev_opp;

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

drivers/base/power/opp/cpu.c:120:5: error: redefinition of  'dev_pm_opp_set_sharing_cpus' kbuild test robot <fengguang.wu@intel.com> - 2016-04-05 03:40 +0200
  Re: drivers/base/power/opp/cpu.c:120:5: error: redefinition of  'dev_pm_opp_set_sharing_cpus' Viresh Kumar <viresh.kumar@linaro.org> - 2016-04-05 05:20 +0200
    RE: drivers/base/power/opp/cpu.c:120:5: error: redefinition of  'dev_pm_opp_set_sharing_cpus' "Li, Philip" <philip.li@intel.com> - 2016-04-05 09:20 +0200
      Re: drivers/base/power/opp/cpu.c:120:5: error: redefinition of  'dev_pm_opp_set_sharing_cpus' Viresh Kumar <viresh.kumar@linaro.org> - 2016-04-05 09:30 +0200

csiph-web