From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (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 641346100 for ; Tue, 30 Aug 2022 20:47:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1661892453; x=1693428453; h=date:from:to:cc:subject:message-id:mime-version; bh=gDzm1XLBuTLbUNhYNDG0QOKV+fs5prMh9MVxqkOSecU=; b=QVpj2GUgMAkZNF1K23XYLT8x8wS2cuQZzw4VLn8XgtIrBCyMfrRZm8cz 2notyIJUOQjIwXq4OIqTm0xIf8wHD3+2zpGKXfKJLlwkLX/HS4ibwvJgV NPjlsDi+FvWD2Cpr1wHSWiM1hpwCucT0RgMCfUkJhBJ7S0M+BHnun5Xx+ VTsTv6U4/TH3m/SZyH+r0lVUcyq1bi/OvKIMPZ/KXZirGYR2bhF5g3t2d +sIGplLnCLkn8sTkJExWFejRhMWqcT2r6OInmgVYSr+ud4Z/a9MSQCJXM Jn+91EV3OrJXt06TxdaJ9mxyxp8UkfjwdjLM1Nz1r5hxPGNseCKz6yCXx w==; X-IronPort-AV: E=McAfee;i="6500,9779,10455"; a="296081797" X-IronPort-AV: E=Sophos;i="5.93,276,1654585200"; d="scan'208";a="296081797" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Aug 2022 13:47:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,276,1654585200"; d="scan'208";a="680184467" Received: from lkp-server02.sh.intel.com (HELO 77b6d4e16fc5) ([10.239.97.151]) by fmsmga004.fm.intel.com with ESMTP; 30 Aug 2022 13:47:31 -0700 Received: from kbuild by 77b6d4e16fc5 with local (Exim 4.96) (envelope-from ) id 1oT88w-0000af-23; Tue, 30 Aug 2022 20:47:30 +0000 Date: Wed, 31 Aug 2022 04:47:07 +0800 From: kernel test robot To: Kalesh Singh Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Marc Zyngier , Fuad Tabba Subject: arch/arm64/kvm/hyp/nvhe/stacktrace.c:46:6: warning: no previous prototype for function 'kvm_nvhe_prepare_backtrace' Message-ID: <202208310413.eqNpIobb-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 Hi Kalesh, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: dcf8e5633e2e69ad60b730ab5905608b756a032f commit: 879e5ac7b2e4db05799a905b5a07fc9e5dedf651 KVM: arm64: Prepare non-protected nVHE hypervisor stacktrace date: 5 weeks ago config: arm64-randconfig-r011-20220830 (https://download.01.org/0day-ci/archive/20220831/202208310413.eqNpIobb-lkp@intel.com/config) compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project c7df82e4693c19e3fd2e25c83eb04d9deb7b7b59) 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/torvalds/linux.git/commit/?id=879e5ac7b2e4db05799a905b5a07fc9e5dedf651 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 879e5ac7b2e4db05799a905b5a07fc9e5dedf651 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> arch/arm64/kvm/hyp/nvhe/stacktrace.c:46:6: warning: no previous prototype for function 'kvm_nvhe_prepare_backtrace' [-Wmissing-prototypes] void kvm_nvhe_prepare_backtrace(unsigned long fp, unsigned long pc) ^ arch/arm64/kvm/hyp/nvhe/stacktrace.c:46:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void kvm_nvhe_prepare_backtrace(unsigned long fp, unsigned long pc) ^ static 1 warning generated. vim +/kvm_nvhe_prepare_backtrace +46 arch/arm64/kvm/hyp/nvhe/stacktrace.c 36 37 /* 38 * kvm_nvhe_prepare_backtrace - prepare to dump the nVHE backtrace 39 * 40 * @fp : frame pointer at which to start the unwinding. 41 * @pc : program counter at which to start the unwinding. 42 * 43 * Saves the information needed by the host to dump the nVHE hypervisor 44 * backtrace. 45 */ > 46 void kvm_nvhe_prepare_backtrace(unsigned long fp, unsigned long pc) -- 0-DAY CI Kernel Test Service https://01.org/lkp