Hi Salil,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on arm64/for-next/core]
[also build test WARNING on arm/for-next soc/for-next kvmarm/next v5.8-rc3 next-20200629]
[cannot apply to xlnx/master]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Salil-Mehta/Changes-to-Support-V...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core
config: arm64-randconfig-r033-20200630 (attached as .config)
compiler: clang version 11.0.0 (
https://github.com/llvm/llvm-project
cf1d04484344be52ada8178e41d18fd15a9b880c)
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 arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
^~~~~~~~~~~~~~~~~~~~~~
In file included from arch/arm64/kernel/sys.c:60:
In file included from arch/arm64/include/asm/unistd.h:47:
In file included from arch/arm64/include/uapi/asm/unistd.h:24:
include/uapi/asm-generic/unistd.h:851:1: warning: initializer overrides prior
initialization of this subobject
__SYSCALL(__NR_clone3, sys_clone3)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kernel/sys.c:56:35: note: expanded from macro '__SYSCALL'
#define __SYSCALL(nr, sym) = __arm64_##sym,
^~~~~~~~~~~~~
<scratch space>:104:1: note: expanded from here
__arm64_sys_clone3
^~~~~~~~~~~~~~~~~~
arch/arm64/kernel/sys.c:59:30: note: previous initialization is here
[0 ... __NR_syscalls - 1] = __arm64_sys_ni_syscall,
^~~~~~~~~~~~~~~~~~~~~~
In file included from arch/arm64/kernel/sys.c:60:
In file included from arch/arm64/include/asm/unistd.h:47:
In file included from arch/arm64/include/uapi/asm/unistd.h:24:
include/uapi/asm-generic/unistd.h:855:1: warning: initializer overrides prior
initialization of this subobject
__SYSCALL(__NR_openat2, sys_openat2)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kernel/sys.c:56:35: note: expanded from macro '__SYSCALL'
#define __SYSCALL(nr, sym) = __arm64_##sym,
^~~~~~~~~~~~~
<scratch space>:105:1: note: expanded from here
__arm64_sys_openat2
^~~~~~~~~~~~~~~~~~~
arch/arm64/kernel/sys.c:59:30: note: previous initialization is here
[0 ... __NR_syscalls - 1] = __arm64_sys_ni_syscall,
^~~~~~~~~~~~~~~~~~~~~~
In file included from arch/arm64/kernel/sys.c:60:
In file included from arch/arm64/include/asm/unistd.h:47:
In file included from arch/arm64/include/uapi/asm/unistd.h:24:
include/uapi/asm-generic/unistd.h:857:1: warning: initializer overrides prior
initialization of this subobject
__SYSCALL(__NR_pidfd_getfd, sys_pidfd_getfd)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kernel/sys.c:56:35: note: expanded from macro '__SYSCALL'
#define __SYSCALL(nr, sym) = __arm64_##sym,
^~~~~~~~~~~~~
<scratch space>:106:1: note: expanded from here
__arm64_sys_pidfd_getfd
^~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kernel/sys.c:59:30: note: previous initialization is here
[0 ... __NR_syscalls - 1] = __arm64_sys_ni_syscall,
^~~~~~~~~~~~~~~~~~~~~~
294 warnings generated.
arch/arm64/kernel/cpuinfo.c:38:26: warning: initializer overrides prior initialization
of this subobject
= "VIPT",
^~~~~~
arch/arm64/kernel/cpuinfo.c:37:31: note: previous initialization is here
[0 ... ICACHE_POLICY_PIPT] = "RESERVED/UNKNOWN",
^~~~~~~~~~~~~~~~~~
arch/arm64/kernel/cpuinfo.c:39:26: warning: initializer overrides prior initialization
of this subobject
= "PIPT",
^~~~~~
arch/arm64/kernel/cpuinfo.c:37:31: note: previous initialization is here
[0 ... ICACHE_POLICY_PIPT] = "RESERVED/UNKNOWN",
^~~~~~~~~~~~~~~~~~
arch/arm64/kernel/cpuinfo.c:40:27: warning: initializer overrides prior initialization
of this subobject
= "VPIPT",
^~~~~~~
arch/arm64/kernel/cpuinfo.c:37:31: note: previous initialization is here
[0 ... ICACHE_POLICY_PIPT] = "RESERVED/UNKNOWN",
^~~~~~~~~~~~~~~~~~
arch/arm64/kernel/cpu_errata.c:295:13: warning: no previous prototype for function
'arm64_update_smccc_conduit'
void __init arm64_update_smccc_conduit(struct alt_instr
^
arch/arm64/kernel/cpu_errata.c:295:1: note: declare 'static' if the function is
not intended to be used outside of this translation unit
void __init arm64_update_smccc_conduit(struct alt_instr
^
static
arch/arm64/kernel/cpu_errata.c:317:13: warning: no previous prototype for function
'arm64_enable_wa2_handling'
void __init arm64_enable_wa2_handling(struct alt_instr
^
arch/arm64/kernel/cpu_errata.c:317:1: note: declare 'static' if the function is
not intended to be used outside of this translation unit
void __init arm64_enable_wa2_handling(struct alt_instr
^
static
arch/arm64/kernel/module.c:489:20: warning: unused function '__init_plt'
static inline void __init_plt(struct plt_entry unsigned long addr)
^
5 warnings generated.
42 warnings generated.
3 warnings generated.
2 warnings generated.
arch/arm64/kernel/cpuidle.c:89:5: warning: no previous prototype for function
'acpi_processor_ffh_lpi_probe'
int acpi_processor_ffh_lpi_probe(unsigned int cpu)
^
arch/arm64/kernel/cpuidle.c:89:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
int acpi_processor_ffh_lpi_probe(unsigned int cpu)
^
static
arch/arm64/kernel/cpuidle.c:94:5: warning: no previous prototype for function
'acpi_processor_ffh_lpi_enter'
int acpi_processor_ffh_lpi_enter(struct acpi_lpi_state
^
arch/arm64/kernel/cpuidle.c:94:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
int acpi_processor_ffh_lpi_enter(struct acpi_lpi_state
^
static
> arch/arm64/kernel/smp.c:533:5: warning: no previous prototype for
function 'arch_register_cpu'
int arch_register_cpu(int num)
^
arch/arm64/kernel/smp.c:533:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
int arch_register_cpu(int num)
^
static
arch/arm64/kernel/smp.c:937:6: warning: no previous prototype for function
'arch_irq_work_raise'
void arch_irq_work_raise(void)
^
arch/arm64/kernel/smp.c:937:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
void arch_irq_work_raise(void)
^
static
arch/arm64/kernel/smp.c:958:6: warning: no previous prototype for function
'panic_smp_self_stop'
void panic_smp_self_stop(void)
^
arch/arm64/kernel/smp.c:958:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
void panic_smp_self_stop(void)
^
static
1 warning generated.
2 warnings generated.
arch/arm64/kernel/cpuidle.c:38: warning: Function parameter or member 'index'
not described in 'arm_cpuidle_suspend'
arch/arm64/kernel/cpuidle.c:38: warning: Excess function parameter 'arg'
description in 'arm_cpuidle_suspend'
arch/arm64/kernel/efi.c:125:25: warning: no previous prototype for function
'efi_handle_corrupted_x18'
asmlinkage efi_status_t efi_handle_corrupted_x18(efi_status_t s, const char
^
arch/arm64/kernel/efi.c:125:12: note: declare 'static' if the function is not
intended to be used outside of this translation unit
asmlinkage efi_status_t efi_handle_corrupted_x18(efi_status_t s, const char
^
static
arch/arm64/kernel/ssbd.c:90:5: warning: no previous prototype for function
'arch_prctl_spec_ctrl_set'
int arch_prctl_spec_ctrl_set(struct task_struct unsigned long which,
^
arch/arm64/kernel/ssbd.c:90:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
int arch_prctl_spec_ctrl_set(struct task_struct unsigned long which,
^
static
arch/arm64/kernel/ssbd.c:121:5: warning: no previous prototype for function
'arch_prctl_spec_ctrl_get'
int arch_prctl_spec_ctrl_get(struct task_struct unsigned long which)
^
arch/arm64/kernel/ssbd.c:121:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
int arch_prctl_spec_ctrl_get(struct task_struct unsigned long which)
^
static
arch/arm64/kernel/sys_compat.c:69:6: warning: no previous prototype for function
'compat_arm_syscall'
long compat_arm_syscall(struct pt_regs int scno)
^
arch/arm64/kernel/sys_compat.c:69:1: note: declare 'static' if the function is
not intended to be used outside of this translation unit
long compat_arm_syscall(struct pt_regs int scno)
^
static
1 warning generated.
arch/arm64/kernel/suspend.c:32:13: warning: no previous prototype for function
'cpu_suspend_set_dbg_restorer'
void __init cpu_suspend_set_dbg_restorer(int int))
^
arch/arm64/kernel/suspend.c:32:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
void __init cpu_suspend_set_dbg_restorer(int int))
^
static
2 warnings generated.
arch/arm64/kernel/syscall.c:175:6: warning: no previous prototype for function
'do_el0_svc' warning generated.
--
^~~~~~~~~~~~~~~~~~~~~~
In file included from arch/arm64/kernel/sys.c:60:
In file included from arch/arm64/include/asm/unistd.h:47:
In file included from arch/arm64/include/uapi/asm/unistd.h:24:
include/uapi/asm-generic/unistd.h:851:1: warning: initializer overrides prior
initialization of this subobject
__SYSCALL(__NR_clone3, sys_clone3)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kernel/sys.c:56:35: note: expanded from macro '__SYSCALL'
#define __SYSCALL(nr, sym) = __arm64_##sym,
^~~~~~~~~~~~~
<scratch space>:104:1: note: expanded from here
__arm64_sys_clone3
^~~~~~~~~~~~~~~~~~
arch/arm64/kernel/sys.c:59:30: note: previous initialization is here
[0 ... __NR_syscalls - 1] = __arm64_sys_ni_syscall,
^~~~~~~~~~~~~~~~~~~~~~
In file included from arch/arm64/kernel/sys.c:60:
In file included from arch/arm64/include/asm/unistd.h:47:
In file included from arch/arm64/include/uapi/asm/unistd.h:24:
include/uapi/asm-generic/unistd.h:855:1: warning: initializer overrides prior
initialization of this subobject
__SYSCALL(__NR_openat2, sys_openat2)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kernel/sys.c:56:35: note: expanded from macro '__SYSCALL'
#define __SYSCALL(nr, sym) = __arm64_##sym,
^~~~~~~~~~~~~
<scratch space>:105:1: note: expanded from here
__arm64_sys_openat2
^~~~~~~~~~~~~~~~~~~
arch/arm64/kernel/sys.c:59:30: note: previous initialization is here
[0 ... __NR_syscalls - 1] = __arm64_sys_ni_syscall,
^~~~~~~~~~~~~~~~~~~~~~
In file included from arch/arm64/kernel/sys.c:60:
In file included from arch/arm64/include/asm/unistd.h:47:
In file included from arch/arm64/include/uapi/asm/unistd.h:24:
include/uapi/asm-generic/unistd.h:857:1: warning: initializer overrides prior
initialization of this subobject
__SYSCALL(__NR_pidfd_getfd, sys_pidfd_getfd)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kernel/sys.c:56:35: note: expanded from macro '__SYSCALL'
#define __SYSCALL(nr, sym) = __arm64_##sym,
^~~~~~~~~~~~~
<scratch space>:106:1: note: expanded from here
__arm64_sys_pidfd_getfd
^~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kernel/sys.c:59:30: note: previous initialization is here
[0 ... __NR_syscalls - 1] = __arm64_sys_ni_syscall,
^~~~~~~~~~~~~~~~~~~~~~
294 warnings generated.
arch/arm64/kernel/cpuinfo.c:38:26: warning: initializer overrides prior initialization
of this subobject
= "VIPT",
^~~~~~
arch/arm64/kernel/cpuinfo.c:37:31: note: previous initialization is here
[0 ... ICACHE_POLICY_PIPT] = "RESERVED/UNKNOWN",
^~~~~~~~~~~~~~~~~~
arch/arm64/kernel/cpuinfo.c:39:26: warning: initializer overrides prior initialization
of this subobject
= "PIPT",
^~~~~~
arch/arm64/kernel/cpuinfo.c:37:31: note: previous initialization is here
[0 ... ICACHE_POLICY_PIPT] = "RESERVED/UNKNOWN",
^~~~~~~~~~~~~~~~~~
arch/arm64/kernel/cpuinfo.c:40:27: warning: initializer overrides prior initialization
of this subobject
= "VPIPT",
^~~~~~~
arch/arm64/kernel/cpuinfo.c:37:31: note: previous initialization is here
[0 ... ICACHE_POLICY_PIPT] = "RESERVED/UNKNOWN",
^~~~~~~~~~~~~~~~~~
arch/arm64/kernel/cpu_errata.c:295:13: warning: no previous prototype for function
'arm64_update_smccc_conduit'
void __init arm64_update_smccc_conduit(struct alt_instr
^
arch/arm64/kernel/cpu_errata.c:295:1: note: declare 'static' if the function is
not intended to be used outside of this translation unit
void __init arm64_update_smccc_conduit(struct alt_instr
^
static
arch/arm64/kernel/cpu_errata.c:317:13: warning: no previous prototype for function
'arm64_enable_wa2_handling'
void __init arm64_enable_wa2_handling(struct alt_instr
^
arch/arm64/kernel/cpu_errata.c:317:1: note: declare 'static' if the function is
not intended to be used outside of this translation unit
void __init arm64_enable_wa2_handling(struct alt_instr
^
static
arch/arm64/kernel/module.c:489:20: warning: unused function '__init_plt'
static inline void __init_plt(struct plt_entry unsigned long addr)
^
5 warnings generated.
42 warnings generated.
3 warnings generated.
2 warnings generated.
arch/arm64/kernel/cpuidle.c:89:5: warning: no previous prototype for function
'acpi_processor_ffh_lpi_probe'
int acpi_processor_ffh_lpi_probe(unsigned int cpu)
^
arch/arm64/kernel/cpuidle.c:89:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
int acpi_processor_ffh_lpi_probe(unsigned int cpu)
^
static
arch/arm64/kernel/cpuidle.c:94:5: warning: no previous prototype for function
'acpi_processor_ffh_lpi_enter'
int acpi_processor_ffh_lpi_enter(struct acpi_lpi_state
^
arch/arm64/kernel/cpuidle.c:94:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
int acpi_processor_ffh_lpi_enter(struct acpi_lpi_state
^
static
> arch/arm64/kernel/smp.c:533:5: warning: no previous prototype for
function 'arch_register_cpu'
int arch_register_cpu(int num)
^
arch/arm64/kernel/smp.c:533:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
int arch_register_cpu(int num)
^
static
arch/arm64/kernel/smp.c:937:6: warning: no previous prototype for function
'arch_irq_work_raise'
void arch_irq_work_raise(void)
^
arch/arm64/kernel/smp.c:937:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
void arch_irq_work_raise(void)
^
static
arch/arm64/kernel/smp.c:958:6: warning: no previous prototype for function
'panic_smp_self_stop'
void panic_smp_self_stop(void)
^
arch/arm64/kernel/smp.c:958:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
void panic_smp_self_stop(void)
^
static
1 warning generated.
2 warnings generated.
arch/arm64/kernel/cpuidle.c:38: warning: Function parameter or member 'index'
not described in 'arm_cpuidle_suspend'
arch/arm64/kernel/cpuidle.c:38: warning: Excess function parameter 'arg'
description in 'arm_cpuidle_suspend'
arch/arm64/kernel/efi.c:125:25: warning: no previous prototype for function
'efi_handle_corrupted_x18'
asmlinkage efi_status_t efi_handle_corrupted_x18(efi_status_t s, const char
^
arch/arm64/kernel/efi.c:125:12: note: declare 'static' if the function is not
intended to be used outside of this translation unit
asmlinkage efi_status_t efi_handle_corrupted_x18(efi_status_t s, const char
^
static
arch/arm64/kernel/ssbd.c:90:5: warning: no previous prototype for function
'arch_prctl_spec_ctrl_set'
int arch_prctl_spec_ctrl_set(struct task_struct unsigned long which,
^
arch/arm64/kernel/ssbd.c:90:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
int arch_prctl_spec_ctrl_set(struct task_struct unsigned long which,
^
static
arch/arm64/kernel/ssbd.c:121:5: warning: no previous prototype for function
'arch_prctl_spec_ctrl_get'
int arch_prctl_spec_ctrl_get(struct task_struct unsigned long which)
^
arch/arm64/kernel/ssbd.c:121:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
int arch_prctl_spec_ctrl_get(struct task_struct unsigned long which)
^
static
arch/arm64/kernel/sys_compat.c:69:6: warning: no previous prototype for function
'compat_arm_syscall'
long compat_arm_syscall(struct pt_regs int scno)
^
arch/arm64/kernel/sys_compat.c:69:1: note: declare 'static' if the function is
not intended to be used outside of this translation unit
long compat_arm_syscall(struct pt_regs int scno)
^
static
1 warning generated.
arch/arm64/kernel/suspend.c:32:13: warning: no previous prototype for function
'cpu_suspend_set_dbg_restorer'
void __init cpu_suspend_set_dbg_restorer(int int))
^
arch/arm64/kernel/suspend.c:32:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
void __init cpu_suspend_set_dbg_restorer(int int))
^
static
2 warnings generated.
arch/arm64/kernel/syscall.c:175:6: warning: no previous prototype for function
'do_el0_svc' warning generated.
..
vim +/arch_register_cpu +533 arch/arm64/kernel/smp.c
531
532 #ifdef CONFIG_ACPI_HOTPLUG_CPU
533 int arch_register_cpu(int num)
534 {
535 return 0;
536 }
537
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org