[PATCH openEuler-5.10 27/39] floppy: use a statically allocated error counter