[PATCH 23/30] ide: Make ide_ident() return an error code