From: jsg Date: Wed, 27 Mar 2024 04:44:37 +0000 (+0000) Subject: drm/radeon/ni: Fix wrong firmware size logging in ni_init_microcode() X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d9c286e032a7cee9baaecdd54eb0d43f658ae696;p=openbsd drm/radeon/ni: Fix wrong firmware size logging in ni_init_microcode() From Nikita Zhandarovich 6fc5fb8ebef803285a8f71e298e8a658d836a492 in linux-6.6.y/6.6.23 c4891d979c7668b195a0a75787967ec95a24ecef in mainline linux --- diff --git a/sys/dev/pci/drm/radeon/ni.c b/sys/dev/pci/drm/radeon/ni.c index 927e5f42e97..3e48cbb522a 100644 --- a/sys/dev/pci/drm/radeon/ni.c +++ b/sys/dev/pci/drm/radeon/ni.c @@ -813,7 +813,7 @@ int ni_init_microcode(struct radeon_device *rdev) err = 0; } else if (rdev->smc_fw->size != smc_req_size) { pr_err("ni_mc: Bogus length %zu in firmware \"%s\"\n", - rdev->mc_fw->size, fw_name); + rdev->smc_fw->size, fw_name); err = -EINVAL; } }