From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.13]) (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 435F415E97; Sun, 26 May 2024 14:52:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716735144; cv=none; b=aeXuHmq3I5/DattyZkPSH/dF/5FFVhING2njdZLdkVwWjXwlrcetZIiBSQTSMGqu7tnK9vGxEeJrpLFO4ZektYjjWQmjeCsfCnYScFzfkPVgRhhMbwCVy8NG2Tu38SZ0nljazUazy6kBHbYo8iyQpgm+9KPJVYuRpM5F+Z9nOmw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716735144; c=relaxed/simple; bh=D08KqfwLn6zPSed+s+WzJOGqLtwXk+mXoW/t1KDA+kA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=CQSVwdPKGbXxfaANrVoDdpjm0vuSZey5hfTXvq/t9x0wMMtROivO1yFMn8RgW6PM+E2dMAyG29JwpOpzhgBs4NxsruBrAqleAk6i1iNPBmRdOb8d/y9eIi4Ut3cB4Uugo02QkASzY7MA4F4Q5KvCClcwc/1mYyX8JRbthXifgVk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=Idv90CoM; arc=none smtp.client-ip=192.198.163.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Idv90CoM" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1716735141; x=1748271141; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=D08KqfwLn6zPSed+s+WzJOGqLtwXk+mXoW/t1KDA+kA=; b=Idv90CoMCw5F7mewZGhOUuNV9SWrdqXbtm/nCoXBQGQgIDas79E9glyl RE4bzP8+MPJif06OlksuFeSiXiWJlS183hMI37anCT054wDryq4pN3Msp HDvTuph5HQIPRuY2ewQjTTw0oBlSgBVa+QBC5KB8EVOXsByVA7Aq758en fP+4s227ooLrdQdbTJSR+PNGWGTI1kjh+d0bpBuk2ot1Yc5N+kHb2bsgB AdWdhpyT1V5WQ+Mb/MAWmozfM/DHItynlFpP2rmfDREXAVIasnKhycJg+ Xzu8bQzo9n+3gqaZwDQEaLH/V0qZq4OtIL+IkE1d5+m26aMb7kjiM4yid g==; X-CSE-ConnectionGUID: ubc4Xa0SSky9A2k4oZ34uw== X-CSE-MsgGUID: xuIM2pu9T1eyXxIqu92g5g== X-IronPort-AV: E=McAfee;i="6600,9927,11084"; a="15995933" X-IronPort-AV: E=Sophos;i="6.08,190,1712646000"; d="scan'208";a="15995933" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 May 2024 07:52:20 -0700 X-CSE-ConnectionGUID: VgCDjZlCRcW1AmXR9amjaw== X-CSE-MsgGUID: 4yBunriQTZ68WmqHo/pp3A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,190,1712646000"; d="scan'208";a="38912144" Received: from unknown (HELO 0610945e7d16) ([10.239.97.151]) by fmviesa005.fm.intel.com with ESMTP; 26 May 2024 07:52:19 -0700 Received: from kbuild by 0610945e7d16 with local (Exim 4.96) (envelope-from ) id 1sBFEO-00087P-0q; Sun, 26 May 2024 14:52:16 +0000 Date: Sun, 26 May 2024 22:51:53 +0800 From: kernel test robot To: Tatsuya S , rostedt@goodmis.org, mhiramat@kernel.org, mark.rutland@arm.com, mathieu.desnoyers@efficios.com Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, Tatsuya S Subject: Re: [PATCH] ftrace: Fix stack trace entry generated by ftrace_pid_func() Message-ID: <202405262232.L4XH8q6O-lkp@intel.com> References: <20240526112658.46740-1-tatsuya.s2862@gmail.com> Precedence: bulk X-Mailing-List: linux-trace-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240526112658.46740-1-tatsuya.s2862@gmail.com> Hi Tatsuya, kernel test robot noticed the following build warnings: [auto build test WARNING on linus/master] [also build test WARNING on rostedt-trace/for-next v6.9 next-20240523] [cannot apply to rostedt-trace/for-next-urgent] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Tatsuya-S/ftrace-Fix-stack-trace-entry-generated-by-ftrace_pid_func/20240526-193149 base: linus/master patch link: https://lore.kernel.org/r/20240526112658.46740-1-tatsuya.s2862%40gmail.com patch subject: [PATCH] ftrace: Fix stack trace entry generated by ftrace_pid_func() config: x86_64-buildonly-randconfig-002-20240526 (https://download.01.org/0day-ci/archive/20240526/202405262232.L4XH8q6O-lkp@intel.com/config) compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240526/202405262232.L4XH8q6O-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202405262232.L4XH8q6O-lkp@intel.com/ All warnings (new ones prefixed by >>): >> kernel/trace/ftrace.c:102:6: warning: no previous prototype for function 'ftrace_pids_enabled' [-Wmissing-prototypes] 102 | bool ftrace_pids_enabled(struct ftrace_ops *ops) | ^ kernel/trace/ftrace.c:102:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 102 | bool ftrace_pids_enabled(struct ftrace_ops *ops) | ^ | static 1 warning generated. vim +/ftrace_pids_enabled +102 kernel/trace/ftrace.c 101 > 102 bool ftrace_pids_enabled(struct ftrace_ops *ops) 103 { 104 struct trace_array *tr; 105 106 if (!(ops->flags & FTRACE_OPS_FL_PID) || !ops->private) 107 return false; 108 109 tr = ops->private; 110 111 return tr->function_pids != NULL || tr->function_no_pids != NULL; 112 } 113 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki