aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpiutil.c
diff options
context:
space:
mode:
authorThomas Weißschuh <[email protected]>2025-06-26 09:23:44 +0000
committerPeter Zijlstra <[email protected]>2025-07-01 13:02:02 +0000
commit3ebb1b6522392f64902b4e96954e35927354aa27 (patch)
tree97a62c9c62eec9b9e158e6235931d7a5c2647ce9 /lib/crypto/mpi/mpiutil.c
parentLinux 6.16-rc4 (diff)
downloadkernel-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 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions