Re: [PATCH v2] scsi: aic94xx: fix an error code in aic94xx_init()

2018-08-08 Thread Martin K. Petersen
Dan, > We accidentally return success instead of -ENOMEM on this error path. Applied to 4.19/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2] scsi: aic94xx: fix an error code in aic94xx_init()

2018-08-08 Thread John Garry
On 08/08/2018 15:29, Dan Carpenter wrote: We accidentally return success instead of -ENOMEM on this error path. Fixes: 2908d778ab3e ("[SCSI] aic94xx: new driver") Signed-off-by: Dan Carpenter thanks Reviewed-by: John Garry --- v2: return -ENOMEM instead of -ENODEV diff --git

[PATCH v2] scsi: aic94xx: fix an error code in aic94xx_init()

2018-08-08 Thread Dan Carpenter
We accidentally return success instead of -ENOMEM on this error path. Fixes: 2908d778ab3e ("[SCSI] aic94xx: new driver") Signed-off-by: Dan Carpenter --- v2: return -ENOMEM instead of -ENODEV diff --git a/drivers/scsi/aic94xx/aic94xx_init.c b/drivers/scsi/aic94xx/aic94xx_init.c index