usb: xhci: annotate switch/case fallthrough properly
authorAndre Przywara <andre.przywara@arm.com>
Thu, 27 Mar 2025 15:33:04 +0000 (15:33 +0000)
committerTom Rini <trini@konsulko.com>
Tue, 8 Apr 2025 22:23:51 +0000 (16:23 -0600)
commit4d108c884b5bd5cef13fa1eb11a65eefd4c48d3f
treec0f6cc3f60823c5dff92cdc88a406d514908489d
parent921e4d480dff3206020eacd4873795d0e57d7c20
usb: xhci: annotate switch/case fallthrough properly

The USB XHCI code uses an implicit switch/case fallthrough to share code
for handling full speed and low speed transfers.

Add our "fallthrough;" statement-like macro before the second label in
the XHCI code, to avoid a warning when GCC's -Wimplicit-fallthrough
warning option is enabled.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
drivers/usb/host/xhci.c