Skip to contentSkip to conversation

drm/amdgpu: Increase FRU File Id buffer size

PATCH In review Lijo Lazar 2 participants 2 messages Dec 4, 2024

Subsystems (2)
lore
Share & tools
lore

Lijo Lazar

author
#0 lore raw

PATCH 1/1 drm/amdgpu: Increase FRU File Id buffer size

Some boards use longer File Ids.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.h +1 -1
index bc58dca18035..98f3196599ef 100644
@@ -32,7 +32,7 @@ struct amdgpu_fru_info {
 	char				product_name[AMDGPU_PRODUCT_NAME_LEN];
 	char				serial[20];
 	char				manufacturer_name[32];
-	char				fru_id[32];
+	char				fru_id[50];
 };
 
 int amdgpu_fru_get_product_info(struct amdgpu_device *adev);
Signature · 1 line
2.25.1
Reviewed-by on v1 1/1
#1 lore raw

[AMD Official Use Only - AMD Internal Distribution Only]

Thanks & Regards
Asad

-----Original Message-----
From: Lazar, Lijo <[email protected]>
Sent: Wednesday, December 4, 2024 9:52 AM
To: [email protected]
Cc: Zhang, Hawking <[email protected]>; Deucher, Alexander <[email protected]>; Kamal, Asad <[email protected]>
Subject: [PATCH] drm/amdgpu: Increase FRU File Id buffer size

Some boards use longer File Ids.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.h +1 -1
index bc58dca18035..98f3196599ef 100644
@@ -32,7 +32,7 @@ struct amdgpu_fru_info {
        char                            product_name[AMDGPU_PRODUCT_NAME_LEN];
        char                            serial[20];
        char                            manufacturer_name[32];
-       char                            fru_id[32];
+       char                            fru_id[50];
 };
 
 int amdgpu_fru_get_product_info(struct amdgpu_device *adev);

--
2.25.1