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@xxxxxxxxxxxxxxxxxxxx> :::::: CC: Johannes Weiner <hannes@xxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip