diff options
Diffstat (limited to 'drivers/scsi/ibmvscsi')
-rw-r--r-- | drivers/scsi/ibmvscsi/ibmvscsi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/ibmvscsi/ibmvscsi.c b/drivers/scsi/ibmvscsi/ibmvscsi.c index e6f937eeb78f..93bd01b1e4b5 100644 --- a/drivers/scsi/ibmvscsi/ibmvscsi.c +++ b/drivers/scsi/ibmvscsi/ibmvscsi.c | |||
@@ -1599,6 +1599,7 @@ static int ibmvscsi_probe(struct vio_dev *vdev, const struct vio_device_id *id) | |||
1599 | /* we don't have a proper target_port_id so let's use the fake one */ | 1599 | /* we don't have a proper target_port_id so let's use the fake one */ |
1600 | memcpy(ids.port_id, hostdata->madapter_info.partition_name, | 1600 | memcpy(ids.port_id, hostdata->madapter_info.partition_name, |
1601 | sizeof(ids.port_id)); | 1601 | sizeof(ids.port_id)); |
1602 | ids.roles = SRP_RPORT_ROLE_TARGET; | ||
1602 | rport = srp_rport_add(host, &ids); | 1603 | rport = srp_rport_add(host, &ids); |
1603 | if (IS_ERR(rport)) | 1604 | if (IS_ERR(rport)) |
1604 | goto add_srp_port_failed; | 1605 | goto add_srp_port_failed; |