Re: [PATCH] scsi: lpfc: Add the missed misc_deregister() for lpfc_init()

2020-08-04 Thread Martin K. Petersen
On Fri, 31 Jul 2020 14:56:39 +0800, Jing Xiangfeng wrote: > lpfc_init() misses to call misc_deregister() in an error path. Add a > label 'unregister' to fix it. Applied to 5.9/scsi-queue, thanks! [1/1] scsi: lpfc: Add missing misc_deregister() for lpfc_init() https://git.kernel.org/mkp/scs

Re: [PATCH] scsi: lpfc: Add the missed misc_deregister() for lpfc_init()

2020-08-04 Thread James Smart
On 7/30/2020 11:56 PM, Jing Xiangfeng wrote: lpfc_init() misses to call misc_deregister() in an error path. Add a label 'unregister' to fix it. Signed-off-by: Jing Xiangfeng --- drivers/scsi/lpfc/lpfc_init.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) Looks fine. Revi

[PATCH] scsi: lpfc: Add the missed misc_deregister() for lpfc_init()

2020-07-30 Thread Jing Xiangfeng
lpfc_init() misses to call misc_deregister() in an error path. Add a label 'unregister' to fix it. Signed-off-by: Jing Xiangfeng --- drivers/scsi/lpfc/lpfc_init.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_ini