diff options
author | 2024-12-11 00:31:55 +0000 | |
---|---|---|
committer | 2024-12-24 08:56:06 +0100 | |
commit | 3b997089903b909684114aca6f79d683e5c64a0e (patch) | |
tree | 13d0377a562abc611c96e632ce62ba6b85914c73 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | usb: gadget: f_tcm: Decrement command ref count on cleanup (diff) | |
download | wireguard-linux-3b997089903b909684114aca6f79d683e5c64a0e.tar.xz wireguard-linux-3b997089903b909684114aca6f79d683e5c64a0e.zip |
usb: gadget: f_tcm: Fix Get/SetInterface return value
Check to make sure that the GetInterface and SetInterface are for valid
interface. Return proper alternate setting number on GetInterface.
Fixes: 0b8b1a1fede0 ("usb: gadget: f_tcm: Provide support to get alternate setting in tcm function")
Cc: stable@vger.kernel.org
Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/ffd91b4640945ea4d3b4f4091cf1abbdbd9cf4fc.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