]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit46b9f0daf827d735b1864cfc7b8ce5a5b8733284
tree094f1f7ad6ee44e19ac0455a0864e95116988417
parent45f81e5c97c932a3d9b9b7e3b950fdeaf84e60dd
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