All of lore.kernel.org
 help / color / mirror / Atom feed
* [uml:next 44/50] arch/x86/um/ptrace.c:245:31: sparse: sparse: symbol 'user_uml_view' was not declared. Should it be static?
@ 2024-10-28 10:37 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-10-28 10:37 UTC (permalink / raw)
  To: Benjamin Berg; +Cc: oe-kbuild-all, Johannes Berg

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/uml/linux next
head:   d3b08e5f3f2829943342b88d3e2b44fb0ccdccab
commit: 3f17fed2149192c7d3b76a45a6a87b4ff22cd586 [44/50] um: switch to regset API and depend on XSTATE
config: um-randconfig-r112-20241026 (https://download.01.org/0day-ci/archive/20241028/202410281821.WSPsAwq7-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/20241028/202410281821.WSPsAwq7-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/202410281821.WSPsAwq7-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> arch/x86/um/ptrace.c:245:31: sparse: sparse: symbol 'user_uml_view' was not declared. Should it be static?
--
>> arch/x86/um/signal.c:87:19: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected struct _xstate [noderef] __user *from_fp64 @@     got void * @@
   arch/x86/um/signal.c:87:19: sparse:     expected struct _xstate [noderef] __user *from_fp64
   arch/x86/um/signal.c:87:19: sparse:     got void *
   arch/x86/um/signal.c:201:9: sparse: sparse: cast removes address space '__user' of expression
   arch/x86/um/signal.c:201:9: sparse: sparse: cast removes address space '__user' of expression
>> arch/x86/um/signal.c:201:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __user *ptr @@     got int * @@
   arch/x86/um/signal.c:201:9: sparse:     expected void const volatile [noderef] __user *ptr
   arch/x86/um/signal.c:201:9: sparse:     got int *
   arch/x86/um/signal.c:201:9: sparse: sparse: cast removes address space '__user' of expression
   arch/x86/um/signal.c:201:9: sparse: sparse: cast removes address space '__user' of expression
   arch/x86/um/signal.c:201:9: sparse: sparse: cast removes address space '__user' of expression
>> arch/x86/um/signal.c:201:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void [noderef] __user *ptr @@     got int * @@
   arch/x86/um/signal.c:201:9: sparse:     expected void [noderef] __user *ptr
   arch/x86/um/signal.c:201:9: sparse:     got int *
   arch/x86/um/signal.c:387:16: sparse: sparse: Using plain integer as NULL pointer
   arch/x86/um/signal.c:411:24: sparse: sparse: cast removes address space '__user' of expression
   arch/x86/um/signal.c:411:24: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected char [noderef] __user *__x @@     got void * @@
   arch/x86/um/signal.c:411:24: sparse:     expected char [noderef] __user *__x
   arch/x86/um/signal.c:411:24: sparse:     got void *

vim +/user_uml_view +245 arch/x86/um/ptrace.c

   244	
 > 245	const struct user_regset_view user_uml_view = {
   246	#ifdef CONFIG_X86_32
   247		.name = "i386", .e_machine = EM_386,
   248	#else
   249		.name = "x86_64", .e_machine = EM_X86_64,
   250	#endif
   251		.regsets = uml_regsets, .n = ARRAY_SIZE(uml_regsets)
   252	};
   253	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-10-28 10:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-28 10:37 [uml:next 44/50] arch/x86/um/ptrace.c:245:31: sparse: sparse: symbol 'user_uml_view' was not declared. Should it be static? kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.