Re: [PATCH] scsi: aic7xxx: fix error code handling

2020-08-31 Thread Martin K. Petersen
On Sun, 16 Aug 2020 03:02:42 -0400, Tong Zhang wrote: > ahc_linux_queue_recovery_cmd returns SUCCESS(0x2002) or FAIL(0x2003), > but the caller is checking error case using !=0 Applied to 5.10/scsi-queue, thanks! [1/1] scsi: aic7xxx: Fix error code handling https://git.kernel.org/mkp/scsi/c

[PATCH] scsi: aic7xxx: fix error code handling

2020-08-16 Thread Tong Zhang
ahc_linux_queue_recovery_cmd returns SUCCESS(0x2002) or FAIL(0x2003), but the caller is checking error case using !=0 Signed-off-by: Tong Zhang --- drivers/scsi/aic7xxx/aic7xxx_osm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/aic7xxx/aic7xxx_osm.c b/dri