aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorNiklas Neronin <[email protected]>2024-08-09 12:44:08 +0000
committerGreg Kroah-Hartman <[email protected]>2024-08-13 08:26:28 +0000
commit741b41b48faf41c0bcf3c26fbb3448b0fda4fc5d (patch)
treed0b4e03b3ceaa3f6accec92bbbefcd9a90e26a63 /rust/helpers/helpers.c
parentusb: xhci: Check for xhci->interrupters being allocated in xhci_mem_clearup() (diff)
downloadkernel-741b41b48faf41c0bcf3c26fbb3448b0fda4fc5d.tar.gz
kernel-741b41b48faf41c0bcf3c26fbb3448b0fda4fc5d.zip
usb: xhci: fix duplicate stall handling in handle_tx_event()
Stall handling is managed in the 'process_*' functions, which are called right before the 'goto' stall handling code snippet. Thus, there should be a return after the 'process_*' functions. Otherwise, the stall code may run twice. Fixes: 1b349f214ac7 ("usb: xhci: add 'goto' for halted endpoint check in handle_tx_event()") Reported-by: Michal Pecio <[email protected]> Signed-off-by: Niklas Neronin <[email protected]> Signed-off-by: Mathias Nyman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions