From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) (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 8C692A34 for ; Sun, 3 Dec 2023 06:32:55 +0000 (UTC) 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="I7tXQMqm" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701585175; x=1733121175; h=date:from:to:cc:subject:message-id:mime-version; bh=2Y8x/KjTSjXD4WYYDa4sZR9JDsCVywWcDuslIWFJ01E=; b=I7tXQMqmZKNNwjINh4mXZYBpFxv8grx2XtUg5takAg34pOKrbDHAEft8 MfC6UQ77uQUwk/mHJD0jihff59EpWHxVKG+hpkXWAxQvKM1UzLLrAKtuf wYwDnBKp7MwFyp4ZrJIW1cn8GpZn+F0ZZzOdkEwsDlqrOw0YkDiNWLaoM oN9bZA3JH13dLObevfkM/vnOjvSSfzigB4cNnmMFRezB44fE2Jrfip7Yo 9S/xfClFZbNrdxdQWuBu6wY2/dI+GBxl3rkTzqn/Ii5oWMeG2hihHCiAe pWjI4NDueMJ3MmcQAKu4HDC+3JoaLm+deQ0hR5Gm04CqSBDgTTVbzZqaI A==; X-IronPort-AV: E=McAfee;i="6600,9927,10912"; a="6906517" X-IronPort-AV: E=Sophos;i="6.04,246,1695711600"; d="scan'208";a="6906517" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Dec 2023 22:32:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10912"; a="770191167" X-IronPort-AV: E=Sophos;i="6.04,246,1695711600"; d="scan'208";a="770191167" Received: from lkp-server02.sh.intel.com (HELO b07ab15da5fe) ([10.239.97.151]) by orsmga002.jf.intel.com with ESMTP; 02 Dec 2023 22:32:47 -0800 Received: from kbuild by b07ab15da5fe with local (Exim 4.96) (envelope-from ) id 1r9g21-0006MX-0Y; Sun, 03 Dec 2023 06:32:45 +0000 Date: Sun, 3 Dec 2023 14:31:50 +0800 From: kernel test robot To: Thomas Gleixner Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Josh Poimboeuf Subject: kernel/stacktrace.c:138: warning: Function parameter or member 'tsk' not described in 'stack_trace_save_tsk' Message-ID: <202312030630.GS0oaaXF-lkp@intel.com> Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Thomas, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 815fb87b753055df2d9e50f6cd80eb10235fe3e9 commit: 214d8ca6ee854f696f75e75511fe66b409e656db stacktrace: Provide common infrastructure date: 4 years, 7 months ago config: i386-allnoconfig (https://download.01.org/0day-ci/archive/20231203/202312030630.GS0oaaXF-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231203/202312030630.GS0oaaXF-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/202312030630.GS0oaaXF-lkp@intel.com/ All warnings (new ones prefixed by >>): >> kernel/stacktrace.c:138: warning: Function parameter or member 'tsk' not described in 'stack_trace_save_tsk' >> kernel/stacktrace.c:138: warning: Excess function parameter 'task' description in 'stack_trace_save_tsk' vim +138 kernel/stacktrace.c 126 127 /** 128 * stack_trace_save_tsk - Save a task stack trace into a storage array 129 * @task: The task to examine 130 * @store: Pointer to storage array 131 * @size: Size of the storage array 132 * @skipnr: Number of entries to skip at the start of the stack trace 133 * 134 * Return: Number of trace entries stored. 135 */ 136 unsigned int stack_trace_save_tsk(struct task_struct *tsk, unsigned long *store, 137 unsigned int size, unsigned int skipnr) > 138 { 139 stack_trace_consume_fn consume_entry = stack_trace_consume_entry_nosched; 140 struct stacktrace_cookie c = { 141 .store = store, 142 .size = size, 143 .skip = skipnr + 1, 144 }; 145 146 if (!try_get_task_stack(tsk)) 147 return 0; 148 149 arch_stack_walk(consume_entry, &c, tsk, NULL); 150 put_task_stack(tsk); 151 return c.len; 152 } 153 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki