From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [linux-iv:topic/v1_acpi_cpu_capacity 2/2] arch/x86/include/asm/topology.h:223:9: warning: 'arch_init_invariance_cppc' macro redefined
Date: Wed, 12 May 2021 22:51:10 +0800 [thread overview]
Message-ID: <202105122206.OYC3ostf-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 6492 bytes --]
tree: https://git.gitlab.arm.com/linux-arm/linux-iv.git topic/v1_acpi_cpu_capacity
head: eece74e8aaac3da75e29d0d24730d90c85c7b0ea
commit: eece74e8aaac3da75e29d0d24730d90c85c7b0ea [2/2] arch_topology: obtain cpu capacity using information from CPPC
config: x86_64-randconfig-r013-20210512 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project a0fed635fe1701470062495a6ffee1c608f3f1bc)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git remote add linux-iv https://git.gitlab.arm.com/linux-arm/linux-iv.git
git fetch --no-tags linux-iv topic/v1_acpi_cpu_capacity
git checkout eece74e8aaac3da75e29d0d24730d90c85c7b0ea
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
In file included from arch/x86/kernel/asm-offsets.c:9:
In file included from include/linux/crypto.h:20:
In file included from include/linux/slab.h:15:
In file included from include/linux/gfp.h:9:
In file included from include/linux/topology.h:36:
>> arch/x86/include/asm/topology.h:223:9: warning: 'arch_init_invariance_cppc' macro redefined [-Wmacro-redefined]
#define arch_init_invariance_cppc init_freq_invariance_cppc
^
include/linux/arch_topology.h:16:9: note: previous definition is here
#define arch_init_invariance_cppc init_cpu_capacity_cppc
^
1 warning generated.
--
In file included from kernel/time/hrtimer.c:25:
In file included from include/linux/cpu.h:17:
In file included from include/linux/node.h:18:
In file included from include/linux/device.h:16:
In file included from include/linux/energy_model.h:7:
In file included from include/linux/kobject.h:20:
In file included from include/linux/sysfs.h:16:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/idr.h:15:
In file included from include/linux/radix-tree.h:19:
In file included from include/linux/xarray.h:14:
In file included from include/linux/gfp.h:9:
In file included from include/linux/topology.h:36:
>> arch/x86/include/asm/topology.h:223:9: warning: 'arch_init_invariance_cppc' macro redefined [-Wmacro-redefined]
#define arch_init_invariance_cppc init_freq_invariance_cppc
^
include/linux/arch_topology.h:16:9: note: previous definition is here
#define arch_init_invariance_cppc init_cpu_capacity_cppc
^
kernel/time/hrtimer.c:120:21: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
[CLOCK_REALTIME] = HRTIMER_BASE_REALTIME,
^~~~~~~~~~~~~~~~~~~~~
kernel/time/hrtimer.c:118:27: note: previous initialization is here
[0 ... MAX_CLOCKS - 1] = HRTIMER_MAX_CLOCK_BASES,
^~~~~~~~~~~~~~~~~~~~~~~
kernel/time/hrtimer.c:121:22: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
[CLOCK_MONOTONIC] = HRTIMER_BASE_MONOTONIC,
^~~~~~~~~~~~~~~~~~~~~~
kernel/time/hrtimer.c:118:27: note: previous initialization is here
[0 ... MAX_CLOCKS - 1] = HRTIMER_MAX_CLOCK_BASES,
^~~~~~~~~~~~~~~~~~~~~~~
kernel/time/hrtimer.c:122:21: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
[CLOCK_BOOTTIME] = HRTIMER_BASE_BOOTTIME,
^~~~~~~~~~~~~~~~~~~~~
kernel/time/hrtimer.c:118:27: note: previous initialization is here
[0 ... MAX_CLOCKS - 1] = HRTIMER_MAX_CLOCK_BASES,
^~~~~~~~~~~~~~~~~~~~~~~
kernel/time/hrtimer.c:123:17: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
[CLOCK_TAI] = HRTIMER_BASE_TAI,
^~~~~~~~~~~~~~~~
kernel/time/hrtimer.c:118:27: note: previous initialization is here
[0 ... MAX_CLOCKS - 1] = HRTIMER_MAX_CLOCK_BASES,
^~~~~~~~~~~~~~~~~~~~~~~
kernel/time/hrtimer.c:147:20: warning: unused function 'is_migration_base' [-Wunused-function]
static inline bool is_migration_base(struct hrtimer_clock_base *base)
^
6 warnings generated.
--
In file included from arch/x86/kernel/asm-offsets.c:9:
In file included from include/linux/crypto.h:20:
In file included from include/linux/slab.h:15:
In file included from include/linux/gfp.h:9:
In file included from include/linux/topology.h:36:
>> arch/x86/include/asm/topology.h:223:9: warning: 'arch_init_invariance_cppc' macro redefined [-Wmacro-redefined]
#define arch_init_invariance_cppc init_freq_invariance_cppc
^
include/linux/arch_topology.h:16:9: note: previous definition is here
#define arch_init_invariance_cppc init_cpu_capacity_cppc
^
1 warning generated.
vim +/arch_init_invariance_cppc +223 arch/x86/include/asm/topology.h
1567c3e3467cdd Giovanni Gherdovich 2020-01-22 220
41ea667227bad5 Nathan Fontenot 2020-11-12 221 #ifdef CONFIG_ACPI_CPPC_LIB
41ea667227bad5 Nathan Fontenot 2020-11-12 222 void init_freq_invariance_cppc(void);
3efe78be8d652a Ionela Voinescu 2021-03-18 @223 #define arch_init_invariance_cppc init_freq_invariance_cppc
41ea667227bad5 Nathan Fontenot 2020-11-12 224 #endif
41ea667227bad5 Nathan Fontenot 2020-11-12 225
:::::: The code at line 223 was first introduced by commit
:::::: 3efe78be8d652a157bd19b6dbd371a2762f953d2 x86, ACPI: rename init_freq_invariance_cppc to arch_init_invariance_cppc
:::::: TO: Ionela Voinescu <ionela.voinescu@arm.com>
:::::: CC: Ionela Voinescu <ionela.voinescu@arm.com>
---
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: 37258 bytes --]
next reply other threads:[~2021-05-12 14:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-12 14:51 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-05-12 14:39 [linux-iv:topic/v1_acpi_cpu_capacity 2/2] arch/x86/include/asm/topology.h:223:9: warning: 'arch_init_invariance_cppc' macro redefined kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202105122206.OYC3ostf-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.