From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 366D9C61DA4 for ; Thu, 9 Feb 2023 06:59:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229574AbjBIG7d (ORCPT ); Thu, 9 Feb 2023 01:59:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbjBIG7b (ORCPT ); Thu, 9 Feb 2023 01:59:31 -0500 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 705EA3801A for ; Wed, 8 Feb 2023 22:59:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1675925970; x=1707461970; h=date:from:to:cc:subject:message-id:mime-version; bh=QP3sphyhKZ++uLX1gEjWhEO0Q7JTq76YEL6G5FR4nqs=; b=lK7Tc901qesEjN4nx2N8o0FRhzk8mVK9H31RG0nVHiCgq3J/yCuEsMr5 As1LHz+jj7baOdA0D5mBMdIvNAbUs3OTAYV4ARgT+6MyszAE82iLBv0Wd io2S0HEuZKz2aw2UBik/3KygUD7Ud1ulUCiQ7y1UHiw9eViRUuJ5n1JUO NsZclFf+m8uXPcaVGg5XuEwX645sjbQWSOLhQ5re/pr5m/e84FVz8e2Xr z4S0na+sE4QjiON3oa06LAB+2VzVMOUMXaO1l3GGv2Zg1e2PBpg6DVymB whfUPz/cmddbze61Gb5jCJyy2pKFyqQHHOi3YA8xLxJ7qSDcgBLcxoliL w==; X-IronPort-AV: E=McAfee;i="6500,9779,10615"; a="394625706" X-IronPort-AV: E=Sophos;i="5.97,281,1669104000"; d="scan'208";a="394625706" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Feb 2023 22:59:29 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10615"; a="697920740" X-IronPort-AV: E=Sophos;i="5.97,281,1669104000"; d="scan'208";a="697920740" Received: from lkp-server01.sh.intel.com (HELO 4455601a8d94) ([10.239.97.150]) by orsmga008.jf.intel.com with ESMTP; 08 Feb 2023 22:59:28 -0800 Received: from kbuild by 4455601a8d94 with local (Exim 4.96) (envelope-from ) id 1pQ0tz-0004tU-1q; Thu, 09 Feb 2023 06:59:27 +0000 Date: Thu, 9 Feb 2023 14:59:26 +0800 From: kernel test robot To: Kalesh Singh Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, 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: <202302091437.1vnXBd7s-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Kalesh, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0983f6bf2bfc0789b51ddf7315f644ff4da50acb commit: 879e5ac7b2e4db05799a905b5a07fc9e5dedf651 KVM: arm64: Prepare non-protected nVHE hypervisor stacktrace date: 7 months ago config: arm64-randconfig-r022-20230209 (https://download.01.org/0day-ci/archive/20230209/202302091437.1vnXBd7s-lkp@intel.com/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project db0e6591612b53910a1b366863348bdb9d7d2fb1) 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 olddefconfig 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 | Link: https://lore.kernel.org/oe-kbuild-all/202302091437.1vnXBd7s-lkp@intel.com 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://github.com/intel/lkp-tests