[PATCH 6.10 531/634] pps: add an error check in parport_attach