[PATCH] drm/amdgpu: Align serial size in drm_amdgpu_info_vbios
Jiawei Gu
Jiawei.Gu at amd.com
Sat May 8 06:47:40 UTC 2021
20 should be serial char size now instead of 16.
Signed-off-by: Jiawei Gu <Jiawei.Gu at amd.com>
---
include/uapi/drm/amdgpu_drm.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h
index 2b487a8d2727..1c20721f90da 100644
--- a/include/uapi/drm/amdgpu_drm.h
+++ b/include/uapi/drm/amdgpu_drm.h
@@ -957,7 +957,7 @@ struct drm_amdgpu_info_vbios {
__u8 vbios_pn[64];
__u32 version;
__u8 date[32];
- __u8 serial[16];
+ __u8 serial[20];
__u32 dev_id;
__u32 rev_id;
__u32 sub_dev_id;
--
2.17.1
More information about the amd-gfx
mailing list