linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH v1 4/5] sbm: SandBox Mode KUnit test suite
       [not found] <20240214113035.2117-5-petrtesarik@huaweicloud.com>
@ 2024-02-15 19:14 ` kernel test robot
  2024-02-16  1:53 ` kernel test robot
  1 sibling, 0 replies; 2+ messages in thread
From: kernel test robot @ 2024-02-15 19:14 UTC (permalink / raw)
  To: Petr Tesarik, Jonathan Corbet, David Kaplan, Larry Dewey,
	Elena Reshetova, Carlos Bilbao, Masami Hiramatsu (Google),
	Andrew Morton, Randy Dunlap, Petr Mladek, Paul E. McKenney,
	Eric DeVolder, Marc Aurèle La France, Gustavo A. R. Silva,
	Nhat Pham, Greg Kroah-Hartman, Christian Brauner (Microsoft),
	Douglas Anderson, Luis Chamberlain, Guenter Roeck, Mike Christie,
	Kent Overstreet, Maninder Singh, open list:DOCUMENTATION,
	open list
  Cc: llvm, oe-kbuild-all, Linux Memory Management List, Roberto Sassu,
	petr, Petr Tesarik

Hi Petr,

kernel test robot noticed the following build errors:

[auto build test ERROR on akpm-mm/mm-everything]
[also build test ERROR on linus/master v6.8-rc4 next-20240215]
[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/Petr-Tesarik/sbm-SandBox-Mode-core-data-types-and-functions/20240214-193528
base:   https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
patch link:    https://lore.kernel.org/r/20240214113035.2117-5-petrtesarik%40huaweicloud.com
patch subject: [PATCH v1 4/5] sbm: SandBox Mode KUnit test suite
config: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20240216/202402160357.4hi1ecdG-lkp@intel.com/config)
compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project 1c10821022f1799452065fb57474e894e2562b7f)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240216/202402160357.4hi1ecdG-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202402160357.4hi1ecdG-lkp@intel.com/

All errors (new ones prefixed by >>):

>> kernel/sbm_test.c:648:25: error: use of undeclared identifier 'current_stack_pointer'
     648 |         unsigned long old_sp = current_stack_pointer;
         |                                ^
   kernel/sbm_test.c:651:2: error: use of undeclared identifier 'current_stack_pointer'
     651 |         current_stack_pointer = (unsigned long)end_of_stack(current);
         |         ^
   kernel/sbm_test.c:654:2: error: use of undeclared identifier 'current_stack_pointer'
     654 |         current_stack_pointer = old_sp;
         |         ^
   3 errors generated.


vim +/current_stack_pointer +648 kernel/sbm_test.c

   645	
   646	static SBM_DEFINE_FUNC(stack_overflow)
   647	{
 > 648		unsigned long old_sp = current_stack_pointer;
   649		int err;
   650	
   651		current_stack_pointer = (unsigned long)end_of_stack(current);
   652		barrier();
   653		err = kaboom();
   654		current_stack_pointer = old_sp;
   655		return err;
   656	}
   657	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v1 4/5] sbm: SandBox Mode KUnit test suite
       [not found] <20240214113035.2117-5-petrtesarik@huaweicloud.com>
  2024-02-15 19:14 ` [PATCH v1 4/5] sbm: SandBox Mode KUnit test suite kernel test robot
@ 2024-02-16  1:53 ` kernel test robot
  1 sibling, 0 replies; 2+ messages in thread
From: kernel test robot @ 2024-02-16  1:53 UTC (permalink / raw)
  To: Petr Tesarik, Jonathan Corbet, David Kaplan, Larry Dewey,
	Elena Reshetova, Carlos Bilbao, Masami Hiramatsu (Google),
	Andrew Morton, Randy Dunlap, Petr Mladek, Paul E. McKenney,
	Eric DeVolder, Marc Aurèle La France, Gustavo A. R. Silva,
	Nhat Pham, Greg Kroah-Hartman, Christian Brauner (Microsoft),
	Douglas Anderson, Luis Chamberlain, Guenter Roeck, Mike Christie,
	Kent Overstreet, Maninder Singh, open list:DOCUMENTATION,
	open list
  Cc: oe-kbuild-all, Linux Memory Management List, Roberto Sassu, petr,
	Petr Tesarik

Hi Petr,

kernel test robot noticed the following build warnings:

[auto build test WARNING on akpm-mm/mm-everything]
[also build test WARNING on linus/master v6.8-rc4 next-20240215]
[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/Petr-Tesarik/sbm-SandBox-Mode-core-data-types-and-functions/20240214-193528
base:   https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
patch link:    https://lore.kernel.org/r/20240214113035.2117-5-petrtesarik%40huaweicloud.com
patch subject: [PATCH v1 4/5] sbm: SandBox Mode KUnit test suite
config: mips-randconfig-r121-20240215 (https://download.01.org/0day-ci/archive/20240216/202402160907.r0qgAoRs-lkp@intel.com/config)
compiler: mips-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20240216/202402160907.r0qgAoRs-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202402160907.r0qgAoRs-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> kernel/sbm_test.c:300:13: sparse: sparse: symbol 'static_bss' was not declared. Should it be static?

vim +/static_bss +300 kernel/sbm_test.c

   293	
   294	/**************************************************************
   295	 * Memory write to kernel BSS.
   296	 *
   297	 * Sandbox mode cannot write to kernel BSS.
   298	 */
   299	
 > 300	struct data static_bss;
   301	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-02-16  1:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20240214113035.2117-5-petrtesarik@huaweicloud.com>
2024-02-15 19:14 ` [PATCH v1 4/5] sbm: SandBox Mode KUnit test suite kernel test robot
2024-02-16  1:53 ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox