(subset) [PATCH v2] drm/bridge: Avoid uninitialized variable warning

Maxime Ripard maxime at cerno.tech
Fri Jul 8 11:46:03 UTC 2022


On Mon, 4 Jul 2022 13:55:40 +0300, Dan Carpenter wrote:
> This code works, but technically it uses "num_in_bus_fmts" before it
> has been initialized so it leads to static checker warnings and probably
> KMEMsan warnings at run time.  Initialize the variable to zero to
> silence the warning.
> 
> 

Applied to drm/drm-misc (drm-misc-next).

Thanks!
Maxime


More information about the dri-devel mailing list