megaraid_sas: Fix sparse warning
authorSumit Saxena <sumit.saxena@avagotech.com>
Thu, 5 Nov 2015 15:47:38 +0000 (21:17 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 9 Nov 2015 16:07:16 +0000 (11:07 -0500)
Signed-off-by: Sumit Saxena <sumit.saxena@avagotech.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/megaraid/megaraid_sas_fusion.c

index 4450baeb868c671f38cbfe731e9ad48eb8bdbd6a..8d630a552b078721c5c5eea640995046a9907565 100644 (file)
@@ -1865,7 +1865,7 @@ megasas_build_syspd_fusion(struct megasas_instance *instance,
                /* Want to send all IO via FW path */
                pRAID_Context->VirtualDiskTgtId = cpu_to_le16(device_id);
                pRAID_Context->configSeqNum = 0;
-               io_request->DevHandle = le16_to_cpu(0xFFFF);
+               io_request->DevHandle = cpu_to_le16(0xFFFF);
        }
 
        cmd->request_desc->SCSIIO.DevHandle = io_request->DevHandle;