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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 43EA6C433EF for ; Wed, 4 May 2022 20:31:10 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id B486D6B0072; Wed, 4 May 2022 16:31:09 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id AF7A46B0073; Wed, 4 May 2022 16:31:09 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9E61E6B0074; Wed, 4 May 2022 16:31:09 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 9065C6B0072 for ; Wed, 4 May 2022 16:31:09 -0400 (EDT) Received: from smtpin24.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay11.hostedemail.com (Postfix) with ESMTP id 5DCDB812AE for ; Wed, 4 May 2022 20:31:09 +0000 (UTC) X-FDA: 79429205058.24.1323CE7 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by imf04.hostedemail.com (Postfix) with ESMTP id 1C0B240099 for ; Wed, 4 May 2022 20:31:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651696268; x=1683232268; h=date:from:to:cc:subject:message-id:mime-version; bh=E0MRfN5smviOjFtTbSA1wwGuKFFZDfgHpeL3rSkzwTc=; b=Q7HDilC4hva4TfbsXiaczBmIJHVl7vCySy3/vwtd6NYC4t06Rdv3EInw r4i1kGpTmlLt0//cYe04u2uFs77X1GQPQgyLAYZw7X6ob1HhW5B8tt5VB N5YVgzueLzwGK7M2drGVE55UVOABwX+ZzWqlzlylBoU2A5kcLcrZ89J2b Yr5rYq4cUC2SdOkA2+OtV+1viw3ZqKPUlyy/3tdf9opsnNwEvh7RJVRAv v8mucfDnUtIEv+4VRvMQxsLYIkbjUbFzIj08tlMacbkDgQrh1lBabz9L1 UcSL1FBstReSOF0SiI4I9TFgHLbtrKsgA9tyRT0PdjJRggn/dJgsu8BAq A==; X-IronPort-AV: E=McAfee;i="6400,9594,10337"; a="354328170" X-IronPort-AV: E=Sophos;i="5.91,199,1647327600"; d="scan'208";a="354328170" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 May 2022 13:31:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,199,1647327600"; d="scan'208";a="694336678" Received: from lkp-server01.sh.intel.com (HELO 5056e131ad90) ([10.239.97.150]) by orsmga004.jf.intel.com with ESMTP; 04 May 2022 13:31:01 -0700 Received: from kbuild by 5056e131ad90 with local (Exim 4.95) (envelope-from ) id 1nmLeG-000Bl9-Pm; Wed, 04 May 2022 20:31:00 +0000 Date: Thu, 5 May 2022 04:30:42 +0800 From: kernel test robot To: Chengming Zhou Cc: kbuild-all@lists.01.org, Linux Memory Management List , Catalin Marinas Subject: [linux-next:master 7006/8600] kernel/trace/fgraph.c:37:12: warning: no previous prototype for 'ftrace_enable_ftrace_graph_caller' Message-ID: <202205050438.jIyxoMNu-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Authentication-Results: imf04.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=Q7HDilC4; spf=none (imf04.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.43) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Rspam-User: X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: 1C0B240099 X-Stat-Signature: u1y3mom3att3zw8rcwu56hmywy4r9sbx X-HE-Tag: 1651696260-17249 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: bb6ee10133faa3c4742ab8343b5e488cdb29445e commit: e999995c84c3abb6dcae83f8c35942a8d4ee0451 [7006/8600] ftrace: cleanup ftrace_graph_caller enable and disable config: microblaze-buildonly-randconfig-r006-20220504 (https://download.01.org/0day-ci/archive/20220505/202205050438.jIyxoMNu-lkp@intel.com/config) compiler: microblaze-linux-gcc (GCC) 11.3.0 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 # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=e999995c84c3abb6dcae83f8c35942a8d4ee0451 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout e999995c84c3abb6dcae83f8c35942a8d4ee0451 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=microblaze SHELL=/bin/bash kernel/trace/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> kernel/trace/fgraph.c:37:12: warning: no previous prototype for 'ftrace_enable_ftrace_graph_caller' [-Wmissing-prototypes] 37 | int __weak ftrace_enable_ftrace_graph_caller(void) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> kernel/trace/fgraph.c:46:12: warning: no previous prototype for 'ftrace_disable_ftrace_graph_caller' [-Wmissing-prototypes] 46 | int __weak ftrace_disable_ftrace_graph_caller(void) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kernel/trace/fgraph.c:241:15: warning: no previous prototype for 'ftrace_return_to_handler' [-Wmissing-prototypes] 241 | unsigned long ftrace_return_to_handler(unsigned long frame_pointer) | ^~~~~~~~~~~~~~~~~~~~~~~~ kernel/trace/fgraph.c:356:6: warning: no previous prototype for 'ftrace_graph_sleep_time_control' [-Wmissing-prototypes] 356 | void ftrace_graph_sleep_time_control(bool enable) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vim +/ftrace_enable_ftrace_graph_caller +37 kernel/trace/fgraph.c 32 33 /* 34 * archs can override this function if they must do something 35 * to enable hook for graph tracer. 36 */ > 37 int __weak ftrace_enable_ftrace_graph_caller(void) 38 { 39 return 0; 40 } 41 42 /* 43 * archs can override this function if they must do something 44 * to disable hook for graph tracer. 45 */ > 46 int __weak ftrace_disable_ftrace_graph_caller(void) 47 { 48 return 0; 49 } 50 -- 0-DAY CI Kernel Test Service https://01.org/lkp