Skip to content
Snippets Groups Projects
Commit 33a44d87 authored by Nikita Zhandarovich's avatar Nikita Zhandarovich Committed by Sasha Levin
Browse files

drm/radeon/ni: Fix wrong firmware size logging in ni_init_microcode()


[ Upstream commit c4891d97 ]

Clean up a typo in pr_err() erroneously printing NI MC 'rdev->mc_fw->size'
during SMC firmware load. Log 'rdev->smc_fw->size' instead.

Found by Linux Verification Center (linuxtesting.org) with static
analysis tool SVACE.

Fixes: 6596afd4 ("drm/radeon/kms: add dpm support for btc (v3)")
Signed-off-by: default avatarNikita Zhandarovich <n.zhandarovich@fintech.ru>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 89526d77
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment