Skip to content

Conversation

@eddyz87
Copy link
Contributor

@eddyz87 eddyz87 commented Nov 14, 2025

Rust schedulers fails to compile with the following error:

  3: In file included from src/bpf/main.bpf.c:9:
     src/bpf/scx_p2dq/main.bpf.c:1299:39: error: incompatible integer to pointer conversion passing 'u64' (aka 'unsigned long long') to parameter of type 'scx_task_common *' (aka '__attribute__((address_space(1))) struct scx_task_common *') [-Wint-conversion]

      1299 |                 ret = scx_atq_insert(pro->fifo.atq, (u64)p->pid);

Example of a failing CI job: https://github.com/kernel-patches/bpf/actions/runs/19352462628/job/55367279993?pr=10275#step:3:1347

Bisect points to 5c4575195fe1 as to a last known good revision.

Rust schedulers fails to compile with the following error:

      3: In file included from src/bpf/main.bpf.c:9:
         src/bpf/scx_p2dq/main.bpf.c:1299:39: error: incompatible integer to pointer conversion passing 'u64' (aka 'unsigned long long') to parameter of type 'scx_task_common *' (aka '__attribute__((address_space(1))) struct scx_task_common *') [-Wint-conversion]

          1299 |                 ret = scx_atq_insert(pro->fifo.atq, (u64)p->pid);

Example of a failing CI job: https://github.com/kernel-patches/bpf/actions/runs/19352462628/job/55367279993?pr=10275#step:3:1347

Bisect points to 5c4575195fe1 as to a last known good revision.

Signed-off-by: Eduard Zingerman <[email protected]>
@liu-song-6 liu-song-6 merged commit 51abdd8 into kernel-patches:master Nov 14, 2025
61 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants