diff options
| author | Thomas Weißschuh <[email protected]> | 2025-06-26 09:23:44 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2025-07-01 13:02:02 +0000 |
| commit | 3ebb1b6522392f64902b4e96954e35927354aa27 (patch) | |
| tree | 97a62c9c62eec9b9e158e6235931d7a5c2647ce9 /scripts/lib/kdoc/kdoc_parser.py | |
| parent | Linux 6.16-rc4 (diff) | |
| download | kernel-3ebb1b6522392f64902b4e96954e35927354aa27.tar.gz kernel-3ebb1b6522392f64902b4e96954e35927354aa27.zip | |
sched: Fix preemption string of preempt_dynamic_none
Zero is a valid value for "preempt_dynamic_mode", namely
"preempt_dynamic_none".
Fix the off-by-one in preempt_model_str(), so that "preempty_dynamic_none"
is correctly formatted as PREEMPT(none) instead of PREEMPT(undef).
Fixes: 8bdc5daaa01e ("sched: Add a generic function to return the preemption string")
Signed-off-by: Thomas Weißschuh <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Sebastian Andrzej Siewior <[email protected]>
Tested-by: Shrikanth Hegde <[email protected]>
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions
