From be62090c39afa8e06cb0008e14f5f1d3957a8720 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Mon, 16 Dec 2019 16:52:48 +0100 Subject: [PATCH] fuzz cleanup for xhci patches --- .../xhci-Fix-memory-leak-in-xhci_add_in_port.patch | 9 ++------- queue-4.4/xhci-Fix-memory-leak-in-xhci_add_in_port.patch | 9 ++------- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/queue-4.14/xhci-Fix-memory-leak-in-xhci_add_in_port.patch b/queue-4.14/xhci-Fix-memory-leak-in-xhci_add_in_port.patch index 28e25c201e1..3388e384318 100644 --- a/queue-4.14/xhci-Fix-memory-leak-in-xhci_add_in_port.patch +++ b/queue-4.14/xhci-Fix-memory-leak-in-xhci_add_in_port.patch @@ -66,14 +66,12 @@ Link: https://lore.kernel.org/r/20191211142007.8847-2-mathias.nyman@linux.intel. Signed-off-by: Greg Kroah-Hartman Signed-off-by: Sasha Levin --- - drivers/usb/host/xhci-mem.c | 4 ++++ + drivers/usb/host/xhci-mem.c | 4 ++++ 1 file changed, 4 insertions(+) -diff --git a/drivers/usb/host/xhci-mem.c b/drivers/usb/host/xhci-mem.c -index 7199e400fbace..19818367ff5c3 100644 --- a/drivers/usb/host/xhci-mem.c +++ b/drivers/usb/host/xhci-mem.c -@@ -1940,10 +1940,14 @@ void xhci_mem_cleanup(struct xhci_hcd *xhci) +@@ -1866,10 +1866,14 @@ no_bw: kfree(xhci->port_array); kfree(xhci->rh_bw); kfree(xhci->ext_caps); @@ -88,6 +86,3 @@ index 7199e400fbace..19818367ff5c3 100644 xhci->rh_bw = NULL; xhci->ext_caps = NULL; --- -2.20.1 - diff --git a/queue-4.4/xhci-Fix-memory-leak-in-xhci_add_in_port.patch b/queue-4.4/xhci-Fix-memory-leak-in-xhci_add_in_port.patch index 28e25c201e1..a45b70db2cf 100644 --- a/queue-4.4/xhci-Fix-memory-leak-in-xhci_add_in_port.patch +++ b/queue-4.4/xhci-Fix-memory-leak-in-xhci_add_in_port.patch @@ -66,14 +66,12 @@ Link: https://lore.kernel.org/r/20191211142007.8847-2-mathias.nyman@linux.intel. Signed-off-by: Greg Kroah-Hartman Signed-off-by: Sasha Levin --- - drivers/usb/host/xhci-mem.c | 4 ++++ + drivers/usb/host/xhci-mem.c | 4 ++++ 1 file changed, 4 insertions(+) -diff --git a/drivers/usb/host/xhci-mem.c b/drivers/usb/host/xhci-mem.c -index 7199e400fbace..19818367ff5c3 100644 --- a/drivers/usb/host/xhci-mem.c +++ b/drivers/usb/host/xhci-mem.c -@@ -1940,10 +1940,14 @@ void xhci_mem_cleanup(struct xhci_hcd *xhci) +@@ -1928,10 +1928,14 @@ no_bw: kfree(xhci->port_array); kfree(xhci->rh_bw); kfree(xhci->ext_caps); @@ -88,6 +86,3 @@ index 7199e400fbace..19818367ff5c3 100644 xhci->rh_bw = NULL; xhci->ext_caps = NULL; --- -2.20.1 - -- 2.47.3