megaraid_sas : fix megasas_fire_cmd_fusion calling convention
authorChristoph Hellwig <hch@lst.de>
Thu, 23 Apr 2015 11:04:09 +0000 (16:34 +0530)
committerJames Bottomley <JBottomley@Odin.com>
Mon, 25 May 2015 15:46:31 +0000 (08:46 -0700)
commit01d7f03ba00796bda4ffee6767785e9a0eb80962
tree094f1f7ad6ee44e19ac0455a0864e95116988417
parent2213a4673e46c951ed317792c095e4216e0d6b46
megaraid_sas : fix megasas_fire_cmd_fusion calling convention

The fusion HBAs don't really use the instance template like the other
variants, as it branches off at a much higher level.  So instead of
trying to squeeze megasas_fire_cmd_fusion into the wrong calling
convention call it locally with argument data types that match what
is passed.

[jejb: fix up 32 bit compile failure]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sumit Saxena <sumit.saxena@avagotech.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/megaraid/megaraid_sas_fusion.c