scsi: aacraid: Rework aac_src_restart
BugLink: http://bugs.launchpad.net/bugs/1689980
Removed switch case and replaced with if mask checks. Moved KERNEL_PANIC
check to when bled is less than 0.
Signed-off-by: Raghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com>
Reviewed-by: David Carroll <david.carroll@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
(cherry picked from commit
8022c90ec2b9a2bcddc2df34418eadda8f935800 linux-next)
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>