mirror-linux/drivers/usb
Thinh Nguyen 94d9bf671a usb: gadget: f_tcm: Don't prepare BOT write request twice
The duplicate kmalloc here is causing memory leak. The request
preparation in bot_send_write_request is also done in
usbg_prepare_w_request. Remove the duplicate work.

Fixes: c52661d60f ("usb-gadget: Initial merge of target module for UASP + BOT")
Cc: stable@vger.kernel.org
Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/f4f26c3d586cde0d46f8c3bcb4e8ae32311b650d.1733876548.git.Thinh.Nguyen@synopsys.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-12-24 08:56:06 +01:00
..
atm Merge 6.12-rc3 into usb-next 2024-10-14 08:03:44 +02:00
c67x00 usb: Switch back to struct platform_driver::remove() 2024-10-04 15:13:03 +02:00
cdns3 usb: cdns3: Synchronise PCI IDs via common data base 2024-11-13 07:16:31 +01:00
chipidea usb: chipidea: host: Improve port index sanitizing 2024-12-04 16:11:58 +01:00
class USB: usblp: remove redundant semicolon 2024-12-23 18:40:39 +01:00
common usb: common: expand documentation for USB functions 2024-12-23 18:40:26 +01:00
core usb: core: sysfs: Constify 'struct bin_attribute' 2024-12-24 08:56:04 +01:00
dwc2 usb: dwc2: Fix HCD port connection race 2024-12-04 16:30:05 +01:00
dwc3 usb: dwc3: gadget: Fix incorrect UDC state after manual deconfiguration 2024-12-24 08:56:05 +01:00
early
fotg210 Merge 6.12-rc3 into usb-next 2024-10-14 08:03:44 +02:00
gadget usb: gadget: f_tcm: Don't prepare BOT write request twice 2024-12-24 08:56:06 +01:00
host usb: xhci: fix ring expansion regression in 6.13-rc1 2024-12-17 11:59:09 +01:00
image scsi: core: Add a dma_alignment field to the host and host template 2024-04-11 21:37:48 -04:00
isp1760 Kbuild updates for v6.13 2024-11-30 13:41:50 -08:00
misc usb: misc: onboard_usb_dev: skip suspend/resume sequence for USB5744 SMBus support 2024-12-04 16:27:04 +01:00
mon drivers/usb/mon: refactor min with min_t 2024-11-13 15:09:51 +01:00
mtu3 Kbuild updates for v6.13 2024-11-30 13:41:50 -08:00
musb Kbuild updates for v6.13 2024-11-30 13:41:50 -08:00
phy usb: Use (of|device)_property_present() for non-boolean properties 2024-11-05 13:29:26 +01:00
renesas_usbhs usb: Use (of|device)_property_present() for non-boolean properties 2024-11-05 13:29:26 +01:00
roles usb: Switch back to struct platform_driver::remove() 2024-10-04 15:13:03 +02:00
serial USB: serial: option: add Telit FE910C04 rmnet compositions 2024-12-11 10:37:28 +01:00
storage Merge 6.13-rc3 into usb-next 2024-12-16 16:23:12 +01:00
typec usb: typec: Print err when displayport fails to enter 2024-12-24 08:56:05 +01:00
usbip usbip: vudc: Constify 'struct bin_attribute' 2024-12-24 08:56:04 +01:00
Kconfig usb: pci-quirks: handle HAS_IOPORT dependency for AMD quirk 2023-10-02 16:19:12 +02:00
Makefile USB: xen-hcd: Traverse host/ when CONFIG_USB_XEN_HCD is selected 2024-06-04 15:33:38 +02:00
usb-skeleton.c