diff options
author | 2024-12-11 00:32:07 +0000 | |
---|---|---|
committer | 2024-12-24 08:56:06 +0100 | |
commit | 94d9bf671ae314cacc2d7bf96bd233b4abc7cede (patch) | |
tree | 4b14be2cc2d08ca8ce3f6a90eb5dcab49e8aa75c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | usb: gadget: f_tcm: ep_autoconfig with fullspeed endpoint (diff) | |
download | wireguard-linux-94d9bf671ae314cacc2d7bf96bd233b4abc7cede.tar.xz wireguard-linux-94d9bf671ae314cacc2d7bf96bd233b4abc7cede.zip |
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: c52661d60f63 ("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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions