[PATCH openEuler-5.10 45/86] e100: fix length calculation in e100_get_regs_len