Yipeng Zou
9ad2861b77
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: 863ccdbb91 ("sched: Allow sched_class::dequeue_task() to fail")
Signed-off-by: Yipeng Zou <zouyipeng@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
2024-08-20 09:09:01 -10:00
..
2024-04-24 09:43:54 +02:00
2022-02-23 08:22:00 +01:00
2024-07-08 09:30:13 -10:00
2023-10-03 21:27:55 +02:00
2024-05-27 17:00:21 +02:00
2023-07-17 16:08:08 -07:00
2024-05-27 17:00:21 +02:00
2024-08-20 08:55:26 -10:00
2022-03-15 09:05:05 +01:00
2023-10-09 12:59:48 +02:00
2018-03-04 12:39:29 +01:00
2024-06-21 12:37:22 -10:00
2022-02-23 10:58:33 +01:00
2023-09-28 22:58:13 +02:00
2020-10-29 11:00:30 +01:00
2024-07-29 12:22:32 +02:00
2024-08-17 11:06:44 +02:00
2024-08-20 08:55:26 -10:00
2024-08-20 09:09:01 -10:00
2024-07-08 09:39:48 -10:00
2024-08-20 08:55:26 -10:00
2024-08-17 11:06:45 +02:00
2024-08-20 08:55:26 -10:00
2024-04-28 10:08:21 +02:00
2024-05-27 17:00:21 +02:00
2022-02-23 10:58:33 +01:00
2024-03-22 10:41:13 -07:00
2024-05-27 17:00:21 +02:00
2024-04-24 12:08:01 +02:00
2024-07-11 10:42:33 +02:00
2024-08-17 11:06:41 +02:00
2019-06-17 12:15:58 +02:00
2024-08-20 08:55:26 -10:00
2023-03-24 11:01:29 +01:00
2024-03-12 11:03:40 +01:00
2024-07-11 10:42:33 +02:00
2024-08-17 11:06:41 +02:00
2023-07-17 16:08:08 -07:00
2024-08-20 08:55:26 -10:00
2024-07-29 12:22:36 +02:00
2024-05-27 17:00:21 +02:00
2023-10-18 14:34:18 -07:00