From 97dadf408315902d5bf8ed64d725e0f69634da02 Mon Sep 17 00:00:00 2001 From: jsg Date: Fri, 30 Aug 2024 03:52:18 +0000 Subject: [PATCH] drm/amd/amdgpu/imu_v11_0: Increase buffer size to ensure all possible values can be stored From Lee Jones 695f692bcd72b5bd188a9ae903d2a3ec99df467c in linux-6.6.y/6.6.48 a728342ae4ec2a7fdab0038b11427579424f133e in mainline linux --- sys/dev/pci/drm/amd/amdgpu/imu_v11_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/pci/drm/amd/amdgpu/imu_v11_0.c b/sys/dev/pci/drm/amd/amdgpu/imu_v11_0.c index 4ab90c7852c..ca123ff5534 100644 --- a/sys/dev/pci/drm/amd/amdgpu/imu_v11_0.c +++ b/sys/dev/pci/drm/amd/amdgpu/imu_v11_0.c @@ -39,7 +39,7 @@ MODULE_FIRMWARE("amdgpu/gc_11_0_4_imu.bin"); static int imu_v11_0_init_microcode(struct amdgpu_device *adev) { - char fw_name[40]; + char fw_name[45]; char ucode_prefix[30]; int err; const struct imu_firmware_header_v1_0 *imu_hdr; -- 2.20.1