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@xxxxxxxxxx> --- drivers/scsi/lpfc/lpfc_init.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
Looks fine. Reviewed-by: James Smart <james.smart@xxxxxxxxxxxx> Thanks -- james