scsi: smartpqi: refactor sending controller raid requests
authorDave Carroll <david.carroll@microsemi.com>
Fri, 7 Dec 2018 22:28:41 +0000 (16:28 -0600)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 20 Dec 2018 03:23:34 +0000 (22:23 -0500)
commit02133b68d51d09bd91b0d2c1fa5318e2f23e4559
tree919b12eefd5657da7d13e20585fb68fcdf9164e4
parent171c28653a2d9201e130863eb2408f404e4d6ed7
scsi: smartpqi: refactor sending controller raid requests

Clean up the common code which creates a raid path request for the
controller LUNID and sends it synchronously, into a common routine;

Reviewed-by: Murthy Bhat <murthy.bhat@microsemi.com>
Reviewed-by: Mahesh Rajashekhara <mahesh.rajashekhara@microsemi.com>
Reviewed-by: Scott Teel <scott.teel@microsemi.com>
Reviewed-by: Kevin Barnett <kevin.barnett@microsemi.com>
Signed-off-by: Dave Carroll <david.carroll@microsemi.com>
Signed-off-by: Don Brace <don.brace@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/smartpqi/smartpqi_init.c