diff mbox series

[GIT,PULL] SCSI fixes for 5.11-rc6

Message ID df6ab78e106c6b792322fddbd75db0f3e2da69e3.camel@HansenPartnership.com
State New
Headers show
Series [GIT,PULL] SCSI fixes for 5.11-rc6 | expand

Commit Message

James Bottomley Feb. 13, 2021, 9:07 p.m. UTC
One fix for scsi_debug that fixes a memory leak on module removal.

The patch is available here:

git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes

The short changelog is:

Maurizio Lombardi (1):
      scsi: scsi_debug: Fix a memory leak

And the diffstat:

 drivers/scsi/scsi_debug.c | 1 +
 1 file changed, 1 insertion(+)

With full diff below.

James

---

Comments

pr-tracker-bot@kernel.org Feb. 13, 2021, 11:33 p.m. UTC | #1
The pull request you sent on Sat, 13 Feb 2021 13:07:30 -0800:

> git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/0001ec9b1418f01a6dd44a83a1caa4b4f3d11f29

Thank you!
diff mbox series

Patch

diff --git a/drivers/scsi/scsi_debug.c b/drivers/scsi/scsi_debug.c
index 4a08c450b756..b6540b92f566 100644
--- a/drivers/scsi/scsi_debug.c
+++ b/drivers/scsi/scsi_debug.c
@@ -6881,6 +6881,7 @@  static void __exit scsi_debug_exit(void)
 
 	sdebug_erase_all_stores(false);
 	xa_destroy(per_store_ap);
+	kfree(sdebug_q_arr);
 }
 
 device_initcall(scsi_debug_init);