From 9fb74c4e66daab5c3fb3b949d37c15684d7ee82a Mon Sep 17 00:00:00 2001 From: Sumit Saxena Date: Thu, 5 Nov 2015 21:17:38 +0530 Subject: [PATCH] megaraid_sas: Fix sparse warning Signed-off-by: Sumit Saxena Signed-off-by: Martin K. Petersen --- drivers/scsi/megaraid/megaraid_sas_fusion.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/megaraid/megaraid_sas_fusion.c b/drivers/scsi/megaraid/megaraid_sas_fusion.c index 4450baeb868c..8d630a552b07 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; -- 2.30.2