Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6c51fe10 authored by Dave C Boutcher's avatar Dave C Boutcher Committed by James Bottomley
Browse files

[SCSI] ibmvscsi: allocate lpevents for ibmvscsi on iseries



Allocate the correct number of lp events when running
ibmvscsi on legacy iseries

Signed-off-by: default avatarDave Boutcher <sleddog@us.ibm.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent d1416431
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -81,7 +81,7 @@ int ibmvscsi_init_crq_queue(struct crq_queue *queue,
	int rc;
	int rc;


	single_host_data = hostdata;
	single_host_data = hostdata;
	rc = viopath_open(viopath_hostLp, viomajorsubtype_scsi, 0);
	rc = viopath_open(viopath_hostLp, viomajorsubtype_scsi, max_requests);
	if (rc < 0) {
	if (rc < 0) {
		printk("viopath_open failed with rc %d in open_event_path\n",
		printk("viopath_open failed with rc %d in open_event_path\n",
		       rc);
		       rc);