[PATCH 09/18] usb: xhci: annotate switch/case fallthrough properly
Tom Rini
trini at konsulko.com
Mon Mar 31 17:57:02 CEST 2025
On Thu, Mar 27, 2025 at 03:33:04PM +0000, Andre Przywara wrote:
> 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 at arm.com>
Reviewed-by: Tom Rini <trini at konsulko.com>
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250331/b6adbb7a/attachment.sig>
More information about the U-Boot
mailing list