ncr5380: Fix NCR5380_select() EH checks and result handling
authorFinn Thain <fthain@telegraphics.com.au>
Mon, 22 Feb 2016 23:07:08 +0000 (10:07 +1100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 1 Mar 2016 14:38:50 +0000 (09:38 -0500)
commitccf6efd78317ef6265829c81a3e1a19f628b1a2d
tree54a9be6a8f9e585d1666b74a1070566504c774f8
parentdc183965282d28c82f192e39cbfa91da85505a6f
ncr5380: Fix NCR5380_select() EH checks and result handling

Add missing checks for EH abort during arbitration and selection.
Rework the handling of NCR5380_select() result to improve clarity.

Fixes: 707d62b37fbb ("ncr5380: Fix EH during arbitration and selection")
Tested-by: Michael Schmitz <schmitzmic@gmail.com>
Cc: <stable@vger.kernel.org> # 4.5
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/NCR5380.c
drivers/scsi/atari_NCR5380.c