Browse Source

[SCSI] qla2xxx: Fix sparse warnings in qlafx00_fxdisc_iocb function.

Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Saurav Kashyap 12 years ago
parent
commit
0a77b586a6
1 changed files with 4 additions and 2 deletions
  1. 4 2
      drivers/scsi/qla2xxx/qla_mr.h

+ 4 - 2
drivers/scsi/qla2xxx/qla_mr.h

@@ -434,9 +434,11 @@ struct qla_mt_iocb_rqst_fx00 {
 
 	__le32 dataword_extra;
 
-	__le32 req_len;
+	__le16 req_len;
+	__le16 reserved_2;
 
-	__le32 rsp_len;
+	__le16 rsp_len;
+	__le16 reserved_3;
 };
 
 struct qla_mt_iocb_rsp_fx00 {