Re: [PATCH] scsi: efct: Fix possible memleak in efct_device_init()

From: Martin K. Petersen
Date: Fri Nov 25 2022 - 19:20:05 EST



Chen,

> In efct_device_init(), when efct_scsi_reg_fc_transport() fails,
> efct_scsi_tgt_driver_exit() is not called to release memory for
> efct_scsi_tgt_driver_init() and causes memleak:

Applied to 6.2/scsi-staging, thanks!

--
Martin K. Petersen Oracle Linux Engineering