summaryrefslogtreecommitdiff
blob: 82167a28024e2ce8b390108f7dc2bf0e28fd2e2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- ./drivers/scsi/qla4xxx/ql4_isr.c.qlafix	2005-10-25 18:17:52.000000000 +0400
+++ ./drivers/scsi/qla4xxx/ql4_isr.c	2005-10-25 18:18:21.273421768 +0400
@@ -157,8 +157,8 @@ qla4xxx_check_and_copy_sense(scsi_qla_ho
 	scsi_qla_host_t *osha;
 	uint16_t        sensebytecnt;
 	os_lun_t *lun_entry = srb->lun_queue;
-	osha = (scsi_qla_host_t *) cmd->device->host->hostdata;
 	fc_port_t *fcport;
+	osha = (scsi_qla_host_t *) cmd->device->host->hostdata;
 
 	/* FIXMEdg: Always clear buffer */
 	memset(cmd->sense_buffer, 0, sizeof(cmd->sense_buffer));