diff options
author | 2024-08-20 10:45:31 +0800 | |
---|---|---|
committer | 2024-08-20 09:09:01 -1000 | |
commit | 9ad2861b773d7da1cf3a5a04a4e8f1aa7d092bbb (patch) | |
tree | 4935ddc2a336432c9b0b39d69d5faa27adc2f014 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'tip/sched/core' into for-6.12 (diff) | |
download | wireguard-linux-9ad2861b773d7da1cf3a5a04a4e8f1aa7d092bbb.tar.xz wireguard-linux-9ad2861b773d7da1cf3a5a04a4e8f1aa7d092bbb.zip |
sched_ext: Allow dequeue_task_scx to fail
Since dequeue_task() allowed to fail, there is a compile error:
kernel/sched/ext.c:3630:19: error: initialization of ‘bool (*)(struct rq*, struct task_struct *, int)’ {aka ‘_Bool (*)(struct rq *, struct task_struct *, int)’} from incompatible pointer type ‘void (*)(struct rq*, struct task_struct *, int)’
3630 | .dequeue_task = dequeue_task_scx,
| ^~~~~~~~~~~~~~~~
Allow dequeue_task_scx to fail too.
Fixes: 863ccdbb918a ("sched: Allow sched_class::dequeue_task() to fail")
Signed-off-by: Yipeng Zou <zouyipeng@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions