[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202411172216.8mrRZn7X-lkp@intel.com>
Date: Sun, 17 Nov 2024 22:16:37 +0800
From: kernel test robot <lkp@...el.com>
To: John Stultz <jstultz@...gle.com>, LKML <linux-kernel@...r.kernel.org>
Cc: oe-kbuild-all@...ts.linux.dev, John Stultz <jstultz@...gle.com>,
Steven Rostedt <rostedt@...dmis.org>,
Alexander Potapenko <glider@...gle.com>,
Andrey Konovalov <andreyknvl@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Linux Memory Management List <linux-mm@...ck.org>,
kernel-team@...roid.com
Subject: Re: [PATCH v2 1/2] lib: stacklog_debug: Introduce helper tool for
collecting and displaying stacktraces
Hi John,
kernel test robot noticed the following build warnings:
[auto build test WARNING on akpm-mm/mm-nonmm-unstable]
[also build test WARNING on linus/master v6.12-rc7 next-20241115]
[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/John-Stultz/lib-stackdepot-Avoid-null-pointer-if-stack_depot_save-is-called-too-early/20241116-230825
base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-nonmm-unstable
patch link: https://lore.kernel.org/r/20241116002322.1035417-1-jstultz%40google.com
patch subject: [PATCH v2 1/2] lib: stacklog_debug: Introduce helper tool for collecting and displaying stacktraces
config: arm-randconfig-r132-20241117 (https://download.01.org/0day-ci/archive/20241117/202411172216.8mrRZn7X-lkp@intel.com/config)
compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a)
reproduce: (https://download.01.org/0day-ci/archive/20241117/202411172216.8mrRZn7X-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 <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202411172216.8mrRZn7X-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> lib/stacklog_debug.c:19:1: sparse: sparse: symbol 'stack_lock' was not declared. Should it be static?
lib/stacklog_debug.c:21:5: sparse: sparse: symbol 'head' was not declared. Should it be static?
vim +/stack_lock +19 lib/stacklog_debug.c
17
18 #define LIST_ENTRIES 512
> 19 DEFINE_SPINLOCK(stack_lock);
20 depot_stack_handle_t stack_list[LIST_ENTRIES];
21 int head, tail;
22
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists