Reviewed-by: Alex Deucher
From: Pan, Xinhui
Sent: Friday, April 12, 2019 1:42 AM
To: amd-gfx@lists.freedesktop.org
Cc: Deucher, Alexander
Subject: [PATCH libdrm V2] amdgpu: Fix a structure initialization issue
struct drmPciBusInfo has been aligned to 6 bytes. So
struct drmPciBusInfo has been aligned to 6 bytes. So memcmp will access
the last byte which is not initialized.
Signed-off-by: xinhui pan
---
tests/amdgpu/ras_tests.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/amdgpu/ras_tests.c b/tests/amdgpu/ras_tests.c
index 612ad1d7..81c34ad6