From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by gnuweeb.org (Postfix) with ESMTPS id 2C0187E2F3 for ; Sat, 19 Mar 2022 02:18:00 +0000 (UTC) Authentication-Results: gnuweeb.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=YBzECTiJ; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1647656280; x=1679192280; h=date:from:to:cc:subject:message-id:mime-version; bh=z4Cs0ow1M4JthoY8HqDsc9XZW1awCZDbzJDMivL0Mh4=; b=YBzECTiJcQ8es5XFs1NrooW23tThYX4MeYcxthAex+RuopfLZsY33aOo Gnzg8HBqxli0C50VAZt0NlH12KUEV1G8r0VC+Hl7xzNNNHkUMcyToGNAU If6u/oOPceI9rFOnE4XpiAIQHidsZo5BnRaUm4voO/k5ratlvhS+GMbGq 2LOdzRuLgPx5Y4UyZfsSA7fMZdn60pDBFJtihVJP17OGrmoHScsidWGqe w9m4gGmKxwho87CUhnwPrqFEHOHxOMmj8VpqyQ7cd0AQDZFAZPX32CMW8 FmHsF2TERAwkccQR0cbvMxAJrmEZy53cwlSCddEmyGYG9s/pmV/QUoDfH w==; X-IronPort-AV: E=McAfee;i="6200,9189,10290"; a="317976033" X-IronPort-AV: E=Sophos;i="5.90,192,1643702400"; d="scan'208";a="317976033" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Mar 2022 19:17:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,192,1643702400"; d="scan'208";a="499458160" Received: from lkp-server02.sh.intel.com (HELO 89b41b6ae01c) ([10.239.97.151]) by orsmga003.jf.intel.com with ESMTP; 18 Mar 2022 19:17:57 -0700 Received: from kbuild by 89b41b6ae01c with local (Exim 4.92) (envelope-from ) id 1nVOfE-000FR5-Tr; Sat, 19 Mar 2022 02:17:56 +0000 Date: Sat, 19 Mar 2022 10:17:30 +0800 From: kernel test robot To: Masami Hiramatsu Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, GNU/Weeb Mailing List , linux-kernel@vger.kernel.org, "Steven Rostedt (Google)" Subject: [ammarfaizi2-block:rostedt/linux-trace/ftrace/core 53/57] arch/arm64/kernel/probes/rethook.c:11:22: warning: no previous prototype for function 'arch_rethook_trampoline_callback' Message-ID: <202203191007.YShhz8AJ-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: tree: https://github.com/ammarfaizi2/linux-block rostedt/linux-trace/ftrace/core head: 03cd03b5c3f9836e625a99fa603b4683dc1ebb47 commit: 6b142311f91040c847702773bdf441afdc658984 [53/57] fprobe: Add exit_handler support config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20220319/202203191007.YShhz8AJ-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project a6e70e4056dff962ec634c5bd4f2f4105a0bef71) 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://github.com/ammarfaizi2/linux-block/commit/6b142311f91040c847702773bdf441afdc658984 git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block rostedt/linux-trace/ftrace/core git checkout 6b142311f91040c847702773bdf441afdc658984 # 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/probes/ 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/probes/rethook.c:11:22: warning: no previous prototype for function 'arch_rethook_trampoline_callback' [-Wmissing-prototypes] unsigned long __used arch_rethook_trampoline_callback(struct pt_regs *regs) ^ arch/arm64/kernel/probes/rethook.c:11:1: note: declare 'static' if the function is not intended to be used outside of this translation unit unsigned long __used arch_rethook_trampoline_callback(struct pt_regs *regs) ^ static 1 warning generated. vim +/arch_rethook_trampoline_callback +11 arch/arm64/kernel/probes/rethook.c 371ce29069762d9 Masami Hiramatsu 2022-03-15 9 371ce29069762d9 Masami Hiramatsu 2022-03-15 10 /* This is called from arch_rethook_trampoline() */ 371ce29069762d9 Masami Hiramatsu 2022-03-15 @11 unsigned long __used arch_rethook_trampoline_callback(struct pt_regs *regs) 371ce29069762d9 Masami Hiramatsu 2022-03-15 12 { 371ce29069762d9 Masami Hiramatsu 2022-03-15 13 return rethook_trampoline_handler(regs, regs->regs[29]); 371ce29069762d9 Masami Hiramatsu 2022-03-15 14 } 371ce29069762d9 Masami Hiramatsu 2022-03-15 15 NOKPROBE_SYMBOL(arch_rethook_trampoline_callback); 371ce29069762d9 Masami Hiramatsu 2022-03-15 16 :::::: The code at line 11 was first introduced by commit :::::: 371ce29069762d992f8dcaa9ecabb6ff78a73f22 arm64: rethook: Add arm64 rethook implementation :::::: TO: Masami Hiramatsu :::::: CC: Steven Rostedt (Google) --- 0-DAY CI Kernel Test Service https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org