This patchset fixes a memory leak in error path insnic_tgt_create() and a refcount leak in normal path. Cc: Karan Tilak Kumar <kartilak@xxxxxxxxx> Cc: Sesidhar Baddela <sebaddel@xxxxxxxxx> Cc: "James E.J. Bottomley" <jejb@xxxxxxxxxxxxx> Cc: "Martin K. Petersen" <martin.petersen@xxxxxxxxxx> Yang Yingliang (2): scsi: snic: fix possible memory leak in snic_tgt_create() scsi: snic: fix refcount leak of shost_gendev in normal path drivers/scsi/snic/snic_disc.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) -- 2.25.1