[PATCH openEuler-5.10 63/76] loop: Check for overflow while configuring loop