diff --git a/drivers/scsi/megaraid/megaraid_sas_fusion.c b/drivers/scsi/megaraid/megaraid_sas_fusion.c index 4450baeb868c671f38cbfe731e9ad48eb8bdbd6a..8d630a552b078721c5c5eea640995046a9907565 100644 --- a/drivers/scsi/megaraid/megaraid_sas_fusion.c +++ b/drivers/scsi/megaraid/megaraid_sas_fusion.c @@ -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;