[PATCH openEuler-1.0-LTS 11/13] sched: Avoid sched entity null pointer panic