/* Process SENSE PGID request result for single path.  */
static void snid_callback(struct ccw_device *cdev, void *data, int rc)
/* Process SENSE PGID request result for single path.  */
static void snid_callback(struct ccw_device *cdev, void *data, int rc)
{
	struct ccw_request *req = &cdev->private->req;
	if (rc == 0)
		cdev->private->pgid_valid_mask |= req->lpm;
	else if (rc != -EACCES)
		goto err;
	req->lpm >>= 1;
	snid_do(cdev);
	return;
err:
	snid_done(cdev, rc);
}