[PATCH 5.10 256/518] pps: add an error check in parport_attach