From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by gnuweeb.org (Postfix) with ESMTPS id 3FC307E694 for ; Thu, 3 Mar 2022 04:03:46 +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=Bizqt42r; 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=1646280226; x=1677816226; h=date:from:to:cc:subject:message-id:mime-version; bh=kz3LVF49hdsquqqC4+deZnBpfx1+hI0OpJ2X/TjO3ts=; b=Bizqt42rvXEqLWoFNPuMoriQA0ylJMwgPjcE02BPJCo+wHXNzcREgUb5 Hvg4uNEHEhu/wnuGIuxUPfxYEP+mQDGcCNAU3Hdsm0Otz/Rw5TJo0lgvR I54uO9Pnj3uwrxyWf9HdF/dBo3pmSNNgedwsz9ix59FfH7g9TX92d9c7L 7e0lZaTa1qNrFxlQRiSyKRdmjEhuDIERheuXrWf3lUUf79AbK/ZLwHqIK PRoSfp7gxWWiaqiXIVuIwxHUKzh8iS7a3D2O69QjyAPvoTZoGavzzlxPy lC0lxdt+ZTYqn6qteyTncIwuKvUoIgUop3V86FrXMUuNSEXlc44gr+w7I g==; X-IronPort-AV: E=McAfee;i="6200,9189,10274"; a="340003023" X-IronPort-AV: E=Sophos;i="5.90,150,1643702400"; d="scan'208";a="340003023" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Mar 2022 20:03:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,150,1643702400"; d="scan'208";a="641957990" Received: from lkp-server01.sh.intel.com (HELO ccb16ba0ecc3) ([10.239.97.150]) by orsmga004.jf.intel.com with ESMTP; 02 Mar 2022 20:03:44 -0800 Received: from kbuild by ccb16ba0ecc3 with local (Exim 4.92) (envelope-from ) id 1nPcgp-00008X-Da; Thu, 03 Mar 2022 04:03:43 +0000 Date: Thu, 3 Mar 2022 12:03:35 +0800 From: kernel test robot To: Sami Tolvanen Cc: kbuild-all@lists.01.org, GNU/Weeb Mailing List , linux-kernel@vger.kernel.org Subject: [ammarfaizi2-block:google/android/kernel/common/android-4.14-q-release 2605/9999] kernel/trace/ftrace.c:6567:6: warning: no previous declaration for 'ftrace_graph_return_stub' Message-ID: <202203031139.31glDHLy-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: Hi Sami, FYI, the error/warning still remains. tree: https://github.com/ammarfaizi2/linux-block google/android/kernel/common/android-4.14-q-release head: 10b2283595d8504436650acaacae25859eb24bdc commit: 03002d0374dd37a1969c6c3aa5e16ffe9844af24 [2605/9999] ANDROID: ftrace: fix function type mismatches config: i386-randconfig-r024-20211019 (https://download.01.org/0day-ci/archive/20220303/202203031139.31glDHLy-lkp@intel.com/config) compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0 reproduce (this is a W=1 build): # https://github.com/ammarfaizi2/linux-block/commit/03002d0374dd37a1969c6c3aa5e16ffe9844af24 git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block google/android/kernel/common/android-4.14-q-release git checkout 03002d0374dd37a1969c6c3aa5e16ffe9844af24 # save the config file to linux build tree mkdir build_dir make W=1 O=build_dir ARCH=i386 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/ftrace.c:2727:13: warning: no previous declaration for 'arch_ftrace_trampoline_free' [-Wmissing-declarations] void __weak arch_ftrace_trampoline_free(struct ftrace_ops *ops) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ kernel/trace/ftrace.c:3488:1: warning: no previous declaration for 'arch_ftrace_trampoline_func' [-Wmissing-declarations] arch_ftrace_trampoline_func(struct ftrace_ops *ops, struct dyn_ftrace *rec) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ kernel/trace/ftrace.c:3726:15: warning: no previous declaration for 'arch_ftrace_match_adjust' [-Wmissing-declarations] char * __weak arch_ftrace_match_adjust(char *str, const char *search) ^~~~~~~~~~~~~~~~~~~~~~~~ kernel/trace/ftrace.c: In function 'process_mod_list': kernel/trace/ftrace.c:4008:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret; ^~~ kernel/trace/ftrace.c: In function 'ftrace_regex_release': kernel/trace/ftrace.c:5040:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret; ^~~ kernel/trace/ftrace.c: At top level: kernel/trace/ftrace.c:5949:13: warning: no previous declaration for 'arch_ftrace_update_trampoline' [-Wmissing-declarations] void __weak arch_ftrace_update_trampoline(struct ftrace_ops *ops) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> kernel/trace/ftrace.c:6567:6: warning: no previous declaration for 'ftrace_graph_return_stub' [-Wmissing-declarations] void ftrace_graph_return_stub(struct ftrace_graph_ret *trace) ^~~~~~~~~~~~~~~~~~~~~~~~ kernel/trace/ftrace.c:6571:5: warning: no previous declaration for 'ftrace_graph_entry_stub' [-Wmissing-declarations] int ftrace_graph_entry_stub(struct ftrace_graph_ent *trace) ^~~~~~~~~~~~~~~~~~~~~~~ kernel/trace/ftrace.c:1093:27: warning: 'ftrace_swapper_pid' defined but not used [-Wunused-const-variable=] static struct pid * const ftrace_swapper_pid = &init_struct_pid; ^~~~~~~~~~~~~~~~~~ vim +/ftrace_graph_return_stub +6567 kernel/trace/ftrace.c 6566 > 6567 void ftrace_graph_return_stub(struct ftrace_graph_ret *trace) 6568 { 6569 } 6570 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org