patch-2.3.19 linux/drivers/scsi/ips.c

Next file: linux/drivers/scsi/ips.h
Previous file: linux/drivers/scsi/in2000.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.18/linux/drivers/scsi/ips.c linux/drivers/scsi/ips.c
@@ -2531,9 +2531,9 @@
                scb->scsi_cmd->result = DID_OK << 16;
 
             if (scb->scsi_cmd->cmnd[0] == INQUIRY) {
-               INQUIRYDATA inq;
+               IPS_INQUIRYDATA inq;
 
-               memset(&inq, 0, sizeof(INQUIRYDATA));
+               memset(&inq, 0, sizeof(IPS_INQUIRYDATA));
 
                inq.DeviceType = TYPE_PROCESSOR;
                inq.DeviceTypeQualifier = 0;
@@ -2925,11 +2925,11 @@
 /****************************************************************************/
 static int
 ips_inquiry(ips_ha_t *ha, ips_scb_t *scb) {
-   INQUIRYDATA inq;
+   IPS_INQUIRYDATA inq;
 
    DBG("ips_inquiry");
 
-   memset(&inq, 0, sizeof(INQUIRYDATA));
+   memset(&inq, 0, sizeof(IPS_INQUIRYDATA));
 
    inq.DeviceType = TYPE_DISK;
    inq.DeviceTypeQualifier = 0;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)