]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
scsi: aacraid: Rework aac_src_restart
authorRaghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com>
Wed, 10 May 2017 16:39:47 +0000 (09:39 -0700)
committerSeth Forshee <seth.forshee@canonical.com>
Fri, 23 Jun 2017 15:46:34 +0000 (10:46 -0500)
commit78a09bb5824b7531444868fa194b48637f495c28
tree12541ece03759344ba8ac497bce7c8566785b141
parent7fbb458ac54ee7e505f0098aae2d03f2a1dd4b7a
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>
drivers/scsi/aacraid/src.c