* [android-common:android15-6.6 1/1] include/trace/hooks/usb.h:22:1: sparse: sparse: incorrect type in assignment (different address spaces)
@ 2024-12-06 5:37 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2024-12-06 5:37 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
tree: https://android.googlesource.com/kernel/common android15-6.6
head: d92a210e49a13fdc3fb2141d0dbc9f63bc642533
commit: 26f9f515d1b98fb93c8c797bdedacf05ada5a75a [1/1] ANDROID: usb: Add vendor hook for usb suspend and resume
config: x86_64-randconfig-122 (https://download.01.org/0day-ci/archive/20241206/202412061309.YhBVAxJ6-lkp@intel.com/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241206/202412061309.YhBVAxJ6-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/202412061309.YhBVAxJ6-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
drivers/usb/core/driver.c: note: in included file (through include/linux/rculist.h, include/linux/pid.h, include/linux/sched.h, ...):
include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true
drivers/usb/core/driver.c: note: in included file:
>> include/trace/hooks/usb.h:22: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/usb.h:22:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/usb.h:22:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
vim +22 include/trace/hooks/usb.h
13
14 DECLARE_HOOK(android_vh_configfs_uevent_work,
15 TP_PROTO(bool connected, bool disconnected, bool configured, bool uevent_sent),
16 TP_ARGS(connected, disconnected, configured, uevent_sent));
17
18 /*
19 * Following tracepoints are not exported in tracefs and provide a
20 * mechanism for vendor modules to hook and extend functionality
21 */
> 22 DECLARE_RESTRICTED_HOOK(android_rvh_usb_dev_suspend,
23 TP_PROTO(struct usb_device *udev, pm_message_t msg, int *bypass),
24 TP_ARGS(udev, msg, bypass), 1);
25
--
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/1] include/trace/hooks/usb.h:22:1: sparse: sparse: incorrect type in assignment (different address spaces)
@ 2024-12-06 21:53 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2024-12-06 21:53 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
tree: https://android.googlesource.com/kernel/common android15-6.6
head: 74c0232c5b36765c11b577e9b81df9cfc95c2432
commit: 26f9f515d1b98fb93c8c797bdedacf05ada5a75a [1/1] ANDROID: usb: Add vendor hook for usb suspend and resume
config: x86_64-randconfig-122 (https://download.01.org/0day-ci/archive/20241207/202412070534.cvMtHiFv-lkp@intel.com/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241207/202412070534.cvMtHiFv-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/202412070534.cvMtHiFv-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
drivers/usb/core/driver.c: note: in included file (through include/linux/rculist.h, include/linux/pid.h, include/linux/sched.h, ...):
include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true
drivers/usb/core/driver.c: note: in included file:
>> include/trace/hooks/usb.h:22: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/usb.h:22:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/usb.h:22:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
vim +22 include/trace/hooks/usb.h
13
14 DECLARE_HOOK(android_vh_configfs_uevent_work,
15 TP_PROTO(bool connected, bool disconnected, bool configured, bool uevent_sent),
16 TP_ARGS(connected, disconnected, configured, uevent_sent));
17
18 /*
19 * Following tracepoints are not exported in tracefs and provide a
20 * mechanism for vendor modules to hook and extend functionality
21 */
> 22 DECLARE_RESTRICTED_HOOK(android_rvh_usb_dev_suspend,
23 TP_PROTO(struct usb_device *udev, pm_message_t msg, int *bypass),
24 TP_ARGS(udev, msg, bypass), 1);
25
--
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-06 21:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-06 21:53 [android-common:android15-6.6 1/1] include/trace/hooks/usb.h:22:1: sparse: sparse: incorrect type in assignment (different address spaces) kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2024-12-06 5:37 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.