[PATCH] aacraid compile problem 2.5.45+

Mark Haverkamp (markh@osdl.org)
04 Nov 2002 14:23:38 -0800


This fixes some compile problems in aachba.c

Mark.

===== drivers/scsi/aacraid/aachba.c 1.4 vs edited =====
--- 1.4/drivers/scsi/aacraid/aachba.c Fri Nov 1 04:28:15 2002
+++ edited/drivers/scsi/aacraid/aachba.c Mon Nov 4 14:14:26 2002
@@ -1113,12 +1113,12 @@
qd.locked = fsa_dev_ptr->locked[qd.cnum];
qd.deleted = fsa_dev_ptr->deleted[qd.cnum];

- if (fsa_dev_ptr->devno[qd.cnum][0] == '\0')
+ if (fsa_dev_ptr->devname[qd.cnum][0] == '\0')
qd.unmapped = 1;
else
qd.unmapped = 0;

- strncpy(dq.name, fsa_dev_ptr->devname[qd.cnum], 8);
+ strncpy(qd.name, fsa_dev_ptr->devname[qd.cnum], 8);

if (copy_to_user(arg, &qd, sizeof (struct aac_query_disk)))
return -EFAULT;
@@ -1170,7 +1170,7 @@
* Mark the container as no longer being valid.
*/
fsa_dev_ptr->valid[dd.cnum] = 0;
- fsa_dev_ptr->devno[dd.cnum][0] = '\0';
+ fsa_dev_ptr->devname[dd.cnum][0] = '\0';
return 0;
}
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/