From: 沈子俊 shenzijun@kylinos.cn
kylin inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I4AH6U?from=project-issue CVE: NA
-----------------------------------------------------------------------------
add uninitialization of result_device_id.raw_device_tag
Signed-off-by: 沈子俊 shenzijun@kylinos.cn --- drivers/gpu/drm/amd/display/dc/bios/bios_parser.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/display/dc/bios/bios_parser.c b/drivers/gpu/drm/amd/display/dc/bios/bios_parser.c index be8a2494355a..9375757fb640 100644 --- a/drivers/gpu/drm/amd/display/dc/bios/bios_parser.c +++ b/drivers/gpu/drm/amd/display/dc/bios/bios_parser.c @@ -2450,6 +2450,7 @@ static struct device_id device_type_from_device_id(uint16_t device_id) {
struct device_id result_device_id; + result_device_id.raw_device_tag = 0;
switch (device_id) { case ATOM_DEVICE_LCD1_SUPPORT: