diff options
author | Sumit Saxena <sumit.saxena@avagotech.com> | 2015-11-05 21:17:38 +0530 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2015-11-09 11:07:16 -0500 |
commit | 9fb74c4e66daab5c3fb3b949d37c15684d7ee82a (patch) | |
tree | 757444a2b6b603be79ed17f39ea3caefef5dfa17 | |
parent | aed335eecf8f09c28588b01c7f7e24ee78156e28 (diff) | |
download | op-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>
-rw-r--r-- | drivers/scsi/megaraid/megaraid_sas_fusion.c | 2 |
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; |