video: annotate switch/case fall-through
authorAndre Przywara <andre.przywara@arm.com>
Thu, 27 Mar 2025 15:33:05 +0000 (15:33 +0000)
committerTom Rini <trini@konsulko.com>
Tue, 8 Apr 2025 22:23:51 +0000 (16:23 -0600)
commit2c22efbb37b00fc353ffee56bf0b54c38639e08e
tree8655bd9caa77f1065d5ebe8f00400938c59b9e6f
parent4d108c884b5bd5cef13fa1eb11a65eefd4c48d3f
video: annotate switch/case fall-through

The generic DM video code uses an implicit switch/case fallthrough to
provide fallback code paths when certain colour depths are not enabled.

Add our "fallthrough;" statement-like macro to the video_fill() function
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/video/video-uclass.c