drm/tegra: Zero-initialize iosys_map
authorMikko Perttunen <mperttunen@nvidia.com>
Fri, 1 Sep 2023 11:59:10 +0000 (14:59 +0300)
committerThierry Reding <treding@nvidia.com>
Wed, 11 Oct 2023 20:52:44 +0000 (22:52 +0200)
commit3868ff006b572cf501a3327832d36c64a9eca86a
tree001ae4ab0ed2d848b6c6866809d524930d549b7e
parente889a311f74f4ae8bd40755a2c58d02e1c684fef
drm/tegra: Zero-initialize iosys_map

UBSAN reports an invalid load for bool, as the iosys_map is read
later without being initialized. Zero-initialize it to avoid this.

Reported-by: Ashish Mhetre <amhetre@nvidia.com>
Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230901115910.701518-2-cyndis@kapsi.fi
drivers/gpu/drm/tegra/gem.c