poky/meta/recipes-kernel
Jinfeng Wang 838a12c621 systemtap: Fix task_work_cancel build
Backport a patch to fix:
 107 |         twork = task_work_cancel(task, func);
      |                                        ^~~~
      |                                        |
      |                                        task_work_func_t {aka void (*)(struct callback_head *)}
/work/rad/wrs/wrl-systemtap-demo/qemux86-64-std-23p17/build/tmp-glibc/work/x86_64-linux/systemtap-native/4.8-r0/recipe-sysroot-native/usr/share/systemtap/runtime/stp_task_work.c:107:40: note: expected 'struct callback_head *' but argument is of type 'task_work_func_t' {aka 'void (*)(struct callback_head *)'}
/work/rad/wrs/wrl-systemtap-demo/qemux86-64-std-23p17/build/tmp-glibc/work/x86_64-linux/systemtap-native/4.8-r0/recipe-sysroot-native/usr/share/systemtap/runtime/stp_task_work.c:13:26: error: incompatible types when assigning to type 'struct callback_head *' from type 'bool' {aka '_Bool'}
   13 | #define task_work_cancel (* (task_work_cancel_fn)kallsyms_task_work_cancel)
      |                          ^
/work/rad/wrs/wrl-systemtap-demo/qemux86-64-std-23p17/build/tmp-glibc/work/x86_64-linux/systemtap-native/4.8-r0/recipe-sysroot-native/usr/share/systemtap/runtime/stp_task_work.c:107:17: note: in expansion of macro 'task_work_cancel'
  107 |         twork = task_work_cancel(task, func);
      |                 ^~~~~~~~~~~~~~~~

(From OE-Core rev: 58509b54a464cd5b692ad4ef8dd333eb9c14abfa)

Signed-off-by: Jinfeng Wang <jinfeng.wang.cn@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-09-22 13:17:52 -07:00
..
blktrace recipes/classes/scripts: Drop SRCPV usage in OE-Core 2023-08-24 16:50:24 +01:00
cryptodev cryptodev: upgrade 1.13 -> 1.14 2024-10-11 05:47:38 -07:00
dtc dtc: preserve version also from shallow git clones 2023-12-21 10:38:30 +00:00
kern-tools kern-tools: depend on git-replacement-native 2024-02-27 14:31:36 +00:00
kexec kexec-tools: submit 0003-kexec-ARM-Fix-add_buffer_phys_virt-align-issue.patch upstream 2024-07-17 05:36:14 -07:00
kmod kmod: fix configure with autopoint calling gtkdocize 2024-01-12 11:54:05 +00:00
libtraceevent libtraceevent: submit meson.patch upstream 2024-06-19 08:34:58 -07:00
linux linux-yocto/6.6: update to v6.6.96 2025-07-11 08:11:53 -07:00
linux-firmware linux-firmware: upgrade 20240312 -> 20240909 2024-10-18 06:04:40 -07:00
linux-libc-headers linux-libc-headers: Fix invalid conversion in cn_proc.h 2025-08-04 07:55:07 -07:00
lttng babeltrace2: extend to nativesdk 2025-03-15 06:40:08 -07:00
make-mod-scripts kernel: make LOCALVERSION consistent between recipes 2023-07-25 15:27:33 +01:00
modutils-initscripts recipes: Drop remaining PR values from recipes 2023-09-22 07:45:17 +01:00
perf perf: make bpf asm include arch conditional 2024-04-08 23:33:32 +01:00
powertop meta: depend on autoconf-archive-native, not autoconf-archive 2023-05-22 10:53:48 +01:00
systemtap systemtap: Fix task_work_cancel build 2025-09-22 13:17:52 -07:00
wireless-regdb wireless-regdb: upgrade 2024.07.04 -> 2024.10.07 2024-11-26 06:11:30 -08:00