* [mmotm:master 292/344] arch/arm64/kernel/cpufeature.c:861:13: error: redefinition of 'has_cache_idc'
@ 2018-04-06 4:36 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2018-04-06 4:36 UTC (permalink / raw)
To: Andrew Morton
Cc: kbuild-all, Linux Memory Management List, Waiman Long, Johannes Weiner
[-- Attachment #1: Type: text/plain, Size: 2997 bytes --]
tree: git://git.cmpxchg.org/linux-mmotm.git master
head: b3cb758191e277309596782a5c8e8c8795bf083b
commit: b35dadcddc6065392808a3bf504b115602b9de45 [292/344] linux-next-git-rejects
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout b35dadcddc6065392808a3bf504b115602b9de45
# save the attached .config to linux build tree
make.cross ARCH=arm64
All errors (new ones prefixed by >>):
>> arch/arm64/kernel/cpufeature.c:861:13: error: redefinition of 'has_cache_idc'
static bool has_cache_idc(const struct arm64_cpu_capabilities *entry,
^~~~~~~~~~~~~
arch/arm64/kernel/cpufeature.c:849:13: note: previous definition of 'has_cache_idc' was here
static bool has_cache_idc(const struct arm64_cpu_capabilities *entry,
^~~~~~~~~~~~~
>> arch/arm64/kernel/cpufeature.c:867:13: error: redefinition of 'has_cache_dic'
static bool has_cache_dic(const struct arm64_cpu_capabilities *entry,
^~~~~~~~~~~~~
arch/arm64/kernel/cpufeature.c:855:13: note: previous definition of 'has_cache_dic' was here
static bool has_cache_dic(const struct arm64_cpu_capabilities *entry,
^~~~~~~~~~~~~
arch/arm64/kernel/cpufeature.c:855:13: warning: 'has_cache_dic' defined but not used [-Wunused-function]
arch/arm64/kernel/cpufeature.c:849:13: warning: 'has_cache_idc' defined but not used [-Wunused-function]
static bool has_cache_idc(const struct arm64_cpu_capabilities *entry,
^~~~~~~~~~~~~
vim +/has_cache_idc +861 arch/arm64/kernel/cpufeature.c
aa77087f Andrew Morton 2018-04-06 860
aa77087f Andrew Morton 2018-04-06 @861 static bool has_cache_idc(const struct arm64_cpu_capabilities *entry,
aa77087f Andrew Morton 2018-04-06 862 int __unused)
5f436c71 Andrew Morton 2018-04-06 863 {
5f436c71 Andrew Morton 2018-04-06 864 return read_sanitised_ftr_reg(SYS_CTR_EL0) & BIT(CTR_IDC_SHIFT);
5f436c71 Andrew Morton 2018-04-06 865 }
5f436c71 Andrew Morton 2018-04-06 866
5f436c71 Andrew Morton 2018-04-06 @867 static bool has_cache_dic(const struct arm64_cpu_capabilities *entry,
5f436c71 Andrew Morton 2018-04-06 868 int __unused)
5f436c71 Andrew Morton 2018-04-06 869 {
5f436c71 Andrew Morton 2018-04-06 870 return read_sanitised_ftr_reg(SYS_CTR_EL0) & BIT(CTR_DIC_SHIFT);
5f436c71 Andrew Morton 2018-04-06 871 }
5f436c71 Andrew Morton 2018-04-06 872
:::::: The code at line 861 was first introduced by commit
:::::: aa77087f8d6cefa001dbe0bec0c7fdef56c552e4 linux-next
:::::: TO: Andrew Morton <akpm@linux-foundation.org>
:::::: CC: Johannes Weiner <hannes@cmpxchg.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 37476 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-04-06 4:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-06 4:36 [mmotm:master 292/344] arch/arm64/kernel/cpufeature.c:861:13: error: redefinition of 'has_cache_idc' kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox