]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Jun 2017 00:48:00 +0000 (20:48 -0400)
commit5aa60732520dd0476ed9e20047b837780bbb7799
tree0a54fa17e584ff4c2a4dd0a282889f4874079826
parent77cb6d5ea6033e5d477947aa682728959d6c3f8f
scsi: aacraid: Rework aac_src_restart

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>
drivers/scsi/aacraid/src.c