Messages in this thread | | | Subject | Re: [PATCH] scsi: lpfc: Add the missed misc_deregister() for lpfc_init() | From | James Smart <> | Date | Tue, 4 Aug 2020 09:21:23 -0700 |
| |
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 <jingxiangfeng@huawei.com> > --- > drivers/scsi/lpfc/lpfc_init.c | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > Looks fine.
Reviewed-by: James Smart <james.smart@broadcom.com>
Thanks
-- james
| |