Commit 26c8f242 authored by Mikko Perttunen's avatar Mikko Perttunen Committed by Greg Kroah-Hartman
Browse files

drm/tegra: Zero-initialize iosys_map



[ Upstream commit 3868ff00 ]

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: default avatarAshish Mhetre <amhetre@nvidia.com>
Signed-off-by: default avatarMikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230901115910.701518-2-cyndis@kapsi.fi


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 53477032
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment