All of lore.kernel.org
 help / color / mirror / Atom feed
* [android-common:android15-6.6 1/5] include/trace/hooks/logbuf.h:15:1: sparse: sparse: incorrect type in assignment (different address spaces)
@ 2024-09-22 15:40 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2024-09-22 15:40 UTC (permalink / raw)
  To: cros-kernel-buildreports; +Cc: oe-kbuild-all

tree:   https://android.googlesource.com/kernel/common android15-6.6
head:   a3c4f110f54b76cbd94691d217eac14144225136
commit: 9b44f2fb794ccd5a17777e317bec959558d21f9e [1/5] ANDROID: vendor_hooks:add restricted hook for logbuf
config: i386-randconfig-r132-20240922 (https://download.01.org/0day-ci/archive/20240922/202409222344.TesIhum1-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240922/202409222344.TesIhum1-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/202409222344.TesIhum1-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
   kernel/printk/printk.c:293:5: sparse: sparse: context imbalance in 'console_srcu_read_lock' - wrong count at exit
   kernel/printk/printk.c: note: in included file (through include/linux/notifier.h, include/linux/memory_hotplug.h, include/linux/mmzone.h, ...):
   include/linux/srcu.h:301:9: sparse: sparse: context imbalance in 'console_srcu_read_unlock' - unexpected unlock
   kernel/printk/printk.c: note: in included file:
>> include/trace/hooks/logbuf.h:15:1: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected struct tracepoint_func *it_func_ptr @@     got struct tracepoint_func [noderef] __rcu *funcs @@
   include/trace/hooks/logbuf.h:15:1: sparse:     expected struct tracepoint_func *it_func_ptr
   include/trace/hooks/logbuf.h:15:1: sparse:     got struct tracepoint_func [noderef] __rcu *funcs

vim +15 include/trace/hooks/logbuf.h

    14	
  > 15	DECLARE_RESTRICTED_HOOK(android_rvh_logbuf,
    16		TP_PROTO(struct printk_ringbuffer *rb, struct printk_record *r),
    17		TP_ARGS(rb, r), true)
    18	

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

^ permalink raw reply	[flat|nested] 2+ messages in thread
* [android-common:android15-6.6 1/5] include/trace/hooks/logbuf.h:15:1: sparse: sparse: incorrect type in assignment (different address spaces)
@ 2024-12-09  4:07 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2024-12-09  4:07 UTC (permalink / raw)
  To: cros-kernel-buildreports; +Cc: oe-kbuild-all

tree:   https://android.googlesource.com/kernel/common android15-6.6
head:   f10cf63d3ff9411bbd227f76d9ac8f4ca543918e
commit: 9b44f2fb794ccd5a17777e317bec959558d21f9e [1/5] ANDROID: vendor_hooks:add restricted hook for logbuf
config: i386-randconfig-062 (https://download.01.org/0day-ci/archive/20241207/202412071355.hbZ0Xl1t-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/20241207/202412071355.hbZ0Xl1t-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/202412071355.hbZ0Xl1t-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
   kernel/printk/printk.c:293:5: sparse: sparse: context imbalance in 'console_srcu_read_lock' - wrong count at exit
   kernel/printk/printk.c: note: in included file (through include/linux/notifier.h, arch/x86/include/asm/uprobes.h, include/linux/uprobes.h, ...):
   include/linux/srcu.h:301:9: sparse: sparse: context imbalance in 'console_srcu_read_unlock' - unexpected unlock
   kernel/printk/printk.c: note: in included file:
>> include/trace/hooks/logbuf.h:15:1: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected struct tracepoint_func *it_func_ptr @@     got struct tracepoint_func [noderef] __rcu *funcs @@
   include/trace/hooks/logbuf.h:15:1: sparse:     expected struct tracepoint_func *it_func_ptr
   include/trace/hooks/logbuf.h:15:1: sparse:     got struct tracepoint_func [noderef] __rcu *funcs

vim +15 include/trace/hooks/logbuf.h

    14	
  > 15	DECLARE_RESTRICTED_HOOK(android_rvh_logbuf,
    16		TP_PROTO(struct printk_ringbuffer *rb, struct printk_record *r),
    17		TP_ARGS(rb, r), true)
    18	

-- 
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-12-09  4:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-22 15:40 [android-common:android15-6.6 1/5] include/trace/hooks/logbuf.h:15:1: sparse: sparse: incorrect type in assignment (different address spaces) kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2024-12-09  4:07 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.