When "ops->common->sb_init = qed_sb_init" fails, the DMA memory needs to be explicitly released. Zhen Lei (2): scsi: qedf: Fix a possible memory leak in qedf_alloc_and_init_sb() scsi: qedi: Fix a possible memory leak in qedi_alloc_and_init_sb() drivers/scsi/qedf/qedf_main.c | 1 + drivers/scsi/qedi/qedi_main.c | 1 + 2 files changed, 2 insertions(+) -- 2.34.1