diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2022-07-04 13:55:40 +0300 |
|---|---|---|
| committer | Maxime Ripard <maxime@cerno.tech> | 2022-07-08 13:41:28 +0200 |
| commit | 7d1202738efda60155d98b370b3c70d336be0eea (patch) | |
| tree | 807e5af2caf60217e840aa522cd62b9d87157e1d /include | |
| parent | 9c442b7aabb3953d3bbd156dc68a16cec60d3bff (diff) | |
drm/bridge: Avoid uninitialized variable warning
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.
Fixes: f32df58acc68 ("drm/bridge: Add the necessary bits to support bus format negotiation")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/YrrIs3hoGcPVmXc5@kili
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
