From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F12942C9D for ; Sat, 8 Jan 2022 17:23:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1641662584; x=1673198584; h=date:from:to:cc:subject:message-id:mime-version; bh=Jzr1p1+i2NQ05atcSx6BrGo35zI43G52AZsx5RMGXUk=; b=VDY+Z4+FTbtGWXvGNgibWWeWr03/QRyVho1Avd/gDlmzklwLDHxC6jbl sEKqx1n/R3T/4vfYIdPfdf5HtOJFMC5pJozpokkLoAIE7Bp//w2NYJNSg iSmUpXaIlh5SEX5ufFznAw58/eqWbMLaGTT8z61n6ui2j6PFBhw3VKc27 FUcFPZaQ3H9lKqp6So9duKb+B9HOnPOl2ApUfbuFYlnHjsOlL1pT3iVKL BWLg2ZQ0g5JOapeA5BOv5dXxkG4FOu9SQrxseN6h0ZepMJVWXbFxOVOCf qFZayRDtJT+dMOlQBsnYqQgll5zNKyV5riqemMrGpucSJ0PXGTIqeVeYh A==; X-IronPort-AV: E=McAfee;i="6200,9189,10220"; a="223014730" X-IronPort-AV: E=Sophos;i="5.88,273,1635231600"; d="scan'208";a="223014730" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jan 2022 09:23:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,273,1635231600"; d="scan'208";a="473676394" Received: from lkp-server01.sh.intel.com (HELO 276f1b88eecb) ([10.239.97.150]) by orsmga006.jf.intel.com with ESMTP; 08 Jan 2022 09:23:02 -0800 Received: from kbuild by 276f1b88eecb with local (Exim 4.92) (envelope-from ) id 1n6FQj-0000rX-RW; Sat, 08 Jan 2022 17:23:01 +0000 Date: Sun, 9 Jan 2022 01:22:08 +0800 From: kernel test robot To: Ingo Molnar Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org Subject: [mingo-tip:master 1626/2300] arch/arm64/kernel/traps.c:1081:13: warning: no previous prototype for function 'trap_init' Message-ID: <202201090114.UJD5Vbez-lkp@intel.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) tree: git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git master head: 4e348e961395297bb17f101cc63bc133d8a348e9 commit: 7e1545fe3cd7d5ab2472513191e4fbec3467ba2c [1626/2300] headers/deps: tracing: Optimize the header config: arm64-buildonly-randconfig-r005-20220108 (https://download.01.org/0day-ci/archive/20220109/202201090114.UJD5Vbez-lkp@intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project f3a344d2125fa37e59bae1b0874442c650a19607) 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 # https://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git/commit/?id=7e1545fe3cd7d5ab2472513191e4fbec3467ba2c git remote add mingo-tip git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git git fetch --no-tags mingo-tip master git checkout 7e1545fe3cd7d5ab2472513191e4fbec3467ba2c # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/kernel/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): arch/arm64/kernel/traps.c:812:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] = "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:839:27: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_DABT_LOW] = "DABT (lower EL)", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:812:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] = "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:840:27: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_DABT_CUR] = "DABT (current EL)", ^~~~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:812:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] = "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:841:27: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_SP_ALIGN] = "SP Alignment", ^~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:812:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] = "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:842:27: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_FP_EXC32] = "FP (AArch32)", ^~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:812:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] = "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:843:27: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_FP_EXC64] = "FP (AArch64)", ^~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:812:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] = "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:844:25: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_SERROR] = "SError", ^~~~~~~~ arch/arm64/kernel/traps.c:812:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] = "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:845:29: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_BREAKPT_LOW] = "Breakpoint (lower EL)", ^~~~~~~~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:812:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] = "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:846:29: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_BREAKPT_CUR] = "Breakpoint (current EL)", ^~~~~~~~~~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:812:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] = "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:847:29: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_SOFTSTP_LOW] = "Software Step (lower EL)", ^~~~~~~~~~~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:812:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] = "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:848:29: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_SOFTSTP_CUR] = "Software Step (current EL)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:812:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] = "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:849:29: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_WATCHPT_LOW] = "Watchpoint (lower EL)", ^~~~~~~~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:812:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] = "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:850:29: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_WATCHPT_CUR] = "Watchpoint (current EL)", ^~~~~~~~~~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:812:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] = "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:851:25: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_BKPT32] = "BKPT (AArch32)", ^~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:812:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] = "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:852:27: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_VECTOR32] = "Vector catch (AArch32)", ^~~~~~~~~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:812:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] = "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:853:24: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_BRK64] = "BRK (AArch64)", ^~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:812:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] = "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:1069:12: warning: no previous prototype for function 'early_brk64' [-Wmissing-prototypes] int __init early_brk64(unsigned long addr, unsigned int esr, ^ arch/arm64/kernel/traps.c:1069:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int __init early_brk64(unsigned long addr, unsigned int esr, ^ static >> arch/arm64/kernel/traps.c:1081:13: warning: no previous prototype for function 'trap_init' [-Wmissing-prototypes] void __init trap_init(void) ^ arch/arm64/kernel/traps.c:1081:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void __init trap_init(void) ^ static 43 warnings generated. vim +/trap_init +1081 arch/arm64/kernel/traps.c 9fb7410f955f7a Dave P Martin 2015-07-24 1080 60ffc30d565281 Catalin Marinas 2012-03-05 @1081 void __init trap_init(void) :::::: The code at line 1081 was first introduced by commit :::::: 60ffc30d5652810dd34ea2eec41504222f5d5791 arm64: Exception handling :::::: TO: Catalin Marinas :::::: CC: Catalin Marinas --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============3209594713041485543==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [mingo-tip:master 1626/2300] arch/arm64/kernel/traps.c:1081:13: warning: no previous prototype for function 'trap_init' Date: Sun, 09 Jan 2022 01:22:08 +0800 Message-ID: <202201090114.UJD5Vbez-lkp@intel.com> List-Id: --===============3209594713041485543== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable tree: git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git master head: 4e348e961395297bb17f101cc63bc133d8a348e9 commit: 7e1545fe3cd7d5ab2472513191e4fbec3467ba2c [1626/2300] headers/deps: = tracing: Optimize the header config: arm64-buildonly-randconfig-r005-20220108 (https://download.01.org/0= day-ci/archive/20220109/202201090114.UJD5Vbez-lkp(a)intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project f3a344= d2125fa37e59bae1b0874442c650a19607) reproduce (this is a W=3D1 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 # https://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git/com= mit/?id=3D7e1545fe3cd7d5ab2472513191e4fbec3467ba2c git remote add mingo-tip git://git.kernel.org/pub/scm/linux/kernel/= git/mingo/tip.git git fetch --no-tags mingo-tip master git checkout 7e1545fe3cd7d5ab2472513191e4fbec3467ba2c # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cross W=3D= 1 O=3Dbuild_dir ARCH=3Darm64 SHELL=3D/bin/bash arch/arm64/kernel/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): arch/arm64/kernel/traps.c:812:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] =3D "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:839:27: warning: initializer overrides prior i= nitialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_DABT_LOW] =3D "DABT (lower EL)", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:812:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] =3D "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:840:27: warning: initializer overrides prior i= nitialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_DABT_CUR] =3D "DABT (current EL)", ^~~~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:812:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] =3D "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:841:27: warning: initializer overrides prior i= nitialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_SP_ALIGN] =3D "SP Alignment", ^~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:812:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] =3D "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:842:27: warning: initializer overrides prior i= nitialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_FP_EXC32] =3D "FP (AArch32)", ^~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:812:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] =3D "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:843:27: warning: initializer overrides prior i= nitialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_FP_EXC64] =3D "FP (AArch64)", ^~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:812:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] =3D "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:844:25: warning: initializer overrides prior i= nitialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_SERROR] =3D "SError", ^~~~~~~~ arch/arm64/kernel/traps.c:812:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] =3D "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:845:29: warning: initializer overrides prior i= nitialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_BREAKPT_LOW] =3D "Breakpoint (lower EL)", ^~~~~~~~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:812:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] =3D "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:846:29: warning: initializer overrides prior i= nitialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_BREAKPT_CUR] =3D "Breakpoint (current EL)", ^~~~~~~~~~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:812:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] =3D "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:847:29: warning: initializer overrides prior i= nitialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_SOFTSTP_LOW] =3D "Software Step (lower EL)", ^~~~~~~~~~~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:812:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] =3D "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:848:29: warning: initializer overrides prior i= nitialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_SOFTSTP_CUR] =3D "Software Step (current EL)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:812:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] =3D "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:849:29: warning: initializer overrides prior i= nitialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_WATCHPT_LOW] =3D "Watchpoint (lower EL)", ^~~~~~~~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:812:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] =3D "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:850:29: warning: initializer overrides prior i= nitialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_WATCHPT_CUR] =3D "Watchpoint (current EL)", ^~~~~~~~~~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:812:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] =3D "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:851:25: warning: initializer overrides prior i= nitialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_BKPT32] =3D "BKPT (AArch32)", ^~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:812:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] =3D "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:852:27: warning: initializer overrides prior i= nitialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_VECTOR32] =3D "Vector catch (AArch32)", ^~~~~~~~~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:812:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] =3D "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:853:24: warning: initializer overrides prior i= nitialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_BRK64] =3D "BRK (AArch64)", ^~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:812:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] =3D "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:1069:12: warning: no previous prototype for fu= nction 'early_brk64' [-Wmissing-prototypes] int __init early_brk64(unsigned long addr, unsigned int esr, ^ arch/arm64/kernel/traps.c:1069:1: note: declare 'static' if the function= is not intended to be used outside of this translation unit int __init early_brk64(unsigned long addr, unsigned int esr, ^ static = >> arch/arm64/kernel/traps.c:1081:13: warning: no previous prototype for fu= nction 'trap_init' [-Wmissing-prototypes] void __init trap_init(void) ^ arch/arm64/kernel/traps.c:1081:1: note: declare 'static' if the function= is not intended to be used outside of this translation unit void __init trap_init(void) ^ static = 43 warnings generated. vim +/trap_init +1081 arch/arm64/kernel/traps.c 9fb7410f955f7a Dave P Martin 2015-07-24 1080 = 60ffc30d565281 Catalin Marinas 2012-03-05 @1081 void __init trap_init(void) :::::: The code at line 1081 was first introduced by commit :::::: 60ffc30d5652810dd34ea2eec41504222f5d5791 arm64: Exception handling :::::: TO: Catalin Marinas :::::: CC: Catalin Marinas --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============3209594713041485543==--