[SCSI] be2iscsi: The extended shift must be 16
authorJayamohan Kallickal <jayamohank@serverengines.com>
Wed, 21 Jul 2010 22:58:13 +0000 (04:28 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Wed, 28 Jul 2010 14:05:38 +0000 (09:05 -0500)
Signed-off-by: Jayamohan Kallickal <jayamohank@serverengines.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/be2iscsi/be_cmds.h

index 0df19cb..40641d0 100644 (file)
@@ -56,7 +56,7 @@ struct be_mcc_wrb {
 #define CQE_STATUS_COMPL_MASK 0xFFFF
 #define CQE_STATUS_COMPL_SHIFT 0       /* bits 0 - 15 */
 #define CQE_STATUS_EXTD_MASK 0xFFFF
-#define CQE_STATUS_EXTD_SHIFT                /* bits 0 - 15 */
+#define CQE_STATUS_EXTD_SHIFT 16               /* bits 0 - 15 */
 
 struct be_mcc_compl {
        u32 status;             /* dword 0 */