AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jiawei Gu <Jiawei.Gu@amd.com>
To: <amd-gfx@lists.freedesktop.org>
Cc: Jiawei Gu <Jiawei.Gu@amd.com>, keescook@chromium.org
Subject: [PATCH] drm/amdgpu: Align serial size in drm_amdgpu_info_vbios
Date: Sat, 8 May 2021 14:47:40 +0800	[thread overview]
Message-ID: <20210508064740.7705-1-Jiawei.Gu@amd.com> (raw)

20 should be serial char size now instead of 16.

Signed-off-by: Jiawei Gu <Jiawei.Gu@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

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

             reply	other threads:[~2021-05-08  6:48 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-08  6:47 Jiawei Gu [this message]
2021-05-09 15:58 ` [PATCH] drm/amdgpu: Align serial size in drm_amdgpu_info_vbios Alex Deucher
2021-05-10  6:33   ` Gu, JiaWei (Will)
2021-05-10  6:53     ` Nieto, David M
2021-05-10  7:13       ` Gu, JiaWei (Will)
2021-05-10 13:42         ` Nieto, David M
2021-05-10 13:48           ` Christian König
2021-05-10 20:19             ` Nieto, David M
2021-05-11  2:23               ` Gu, JiaWei (Will)
2021-05-11  2:52                 ` Nieto, David M
2021-05-11  3:01                   ` Gu, JiaWei (Will)
2021-05-11  7:51               ` Christian König
2021-05-11  8:18                 ` Marek Olšák
2021-05-11 14:04                   ` Deucher, Alexander
2021-05-11 14:07                     ` Christian König
2021-05-11 16:35                       ` Nieto, David M
2021-05-15  6:40                         ` Marek Olšák
2021-05-15 13:22                           ` Christian König

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210508064740.7705-1-Jiawei.Gu@amd.com \
    --to=jiawei.gu@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=keescook@chromium.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox