diff options
| author | Jiapeng Chong <[email protected]> | 2024-07-15 02:10:26 +0000 |
|---|---|---|
| committer | Tejun Heo <[email protected]> | 2024-07-15 04:10:10 +0000 |
| commit | 8bb30798fd6ee79e4041a32ca85b9f70345d8671 (patch) | |
| tree | 2b4762ffa8d964602ccb194dfedaba8e4e5891d8 /lib/dump_stack.c | |
| parent | sched_ext/scx_qmap: Pick idle CPU for direct dispatch on !wakeup enqueues (diff) | |
| download | kernel-8bb30798fd6ee79e4041a32ca85b9f70345d8671.tar.gz kernel-8bb30798fd6ee79e4041a32ca85b9f70345d8671.zip | |
sched_ext: Fixes incorrect type in bpf_scx_init()
The type_id is defined as u32type, if(type_id<0) is invalid, hence
modified its type to s32.
./kernel/sched/ext.c:4958:5-12: WARNING: Unsigned expression compared with zero: type_id < 0.
Reported-by: Abaci Robot <[email protected]>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9523
Signed-off-by: Jiapeng Chong <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions
