[PATCH openEuler-5.10 46/86] e100: fix buffer overrun in e100_get_regs