diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-08-30 03:52:19 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-08-30 03:52:19 +0000 |
commit | d687f74871663e899275a31697576eed425c3153 (patch) | |
tree | 4ec5ec57cf735a50b25474cfbdef5b65c5d35fde /sys | |
parent | e93289688d0ed175bbc5ae31ade55d20725a4a85 (diff) |
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
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/drm/amd/amdgpu/imu_v11_0.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |