commit | 1eaff53649b83aca01d46e034b0590dd0504360a | [log] [tgz] |
---|---|---|
author | Jing Xiangfeng <jingxiangfeng@huawei.com> | Fri Jul 31 14:56:39 2020 +0800 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Tue Aug 04 20:56:57 2020 -0400 |
tree | c38cb8acb2bf8f14d470d515a0ebdfd7a8fddc3e | |
parent | af6de8c60fe9433afa73cea6fcccdccd98ad3e5e [diff] |
scsi: lpfc: Add missing misc_deregister() for lpfc_init() lpfc_init() misses a call misc_deregister() in an error path. Add a label 'unregister' to fix it. Link: https://lore.kernel.org/r/20200731065639.190646-1-jingxiangfeng@huawei.com Reviewed-by: James Smart <james.smart@broadcom.com> Signed-off-by: Jing Xiangfeng <jingxiangfeng@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>