On Sat, May 8, 2021 at 2:48 AM Jiawei Gu <Jiawei.Gu@xxxxxxx> wrote: > > 20 should be serial char size now instead of 16. > > Signed-off-by: Jiawei Gu <Jiawei.Gu@xxxxxxx> Please make sure this keeps proper 64 bit alignment in the structure. Alex > --- > 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@xxxxxxxxxxxxxxxxxxxxx > https://lists.freedesktop.org/mailman/listinfo/amd-gfx _______________________________________________ amd-gfx mailing list amd-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/amd-gfx