[PATCH openEuler-5.10 15/38] sched/idle: Reported an error when an illegal negative value is passed