summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/megaraid
diff options
context:
space:
mode:
authorSumit Saxena <sumit.saxena@avagotech.com>2015-11-05 21:17:38 +0530
committerMartin K. Petersen <martin.petersen@oracle.com>2015-11-09 11:07:16 -0500
commit9fb74c4e66daab5c3fb3b949d37c15684d7ee82a (patch)
tree757444a2b6b603be79ed17f39ea3caefef5dfa17 /drivers/scsi/megaraid
parentaed335eecf8f09c28588b01c7f7e24ee78156e28 (diff)
downloadop-kernel-dev-9fb74c4e66daab5c3fb3b949d37c15684d7ee82a.zip
op-kernel-dev-9fb74c4e66daab5c3fb3b949d37c15684d7ee82a.tar.gz
megaraid_sas: Fix sparse warning
Signed-off-by: Sumit Saxena <sumit.saxena@avagotech.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/megaraid')
-rw-r--r--drivers/scsi/megaraid/megaraid_sas_fusion.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/megaraid/megaraid_sas_fusion.c b/drivers/scsi/megaraid/megaraid_sas_fusion.c
index 4450bae..8d630a5 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;
OpenPOWER on IntegriCloud