Convert ERR_PTR(PTR_ERR(p)) instances to ERR_CAST(p)