summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2020-12-15 06:38:35 -0800
committerAlex Deucher <alexander.deucher@amd.com>2020-12-15 11:35:56 -0500
commit0b437e64e0af749c302a7599c1a8f3e89aded559 (patch)
tree3c4768d831a4641ae8bee8e68b316445551e0c81 /drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
parentb4bc9d95e69368935a399b16ea26ca7573abafca (diff)
downloadlinux-stable-0b437e64e0af749c302a7599c1a8f3e89aded559.tar.gz
linux-stable-0b437e64e0af749c302a7599c1a8f3e89aded559.tar.bz2
linux-stable-0b437e64e0af749c302a7599c1a8f3e89aded559.zip
drm/amdgpu: remove h from printk format specifier
See Documentation/core-api/printk-formats.rst. h should no longer be used in the format specifier for printk. Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Tom Rix <trix@redhat.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
index 9791a4057e8b..0d5284b936e4 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
@@ -179,7 +179,7 @@ int amdgpu_vce_sw_init(struct amdgpu_device *adev, unsigned long size)
version_major = (ucode_version >> 20) & 0xfff;
version_minor = (ucode_version >> 8) & 0xfff;
binary_id = ucode_version & 0xff;
- DRM_INFO("Found VCE firmware Version: %hhd.%hhd Binary ID: %hhd\n",
+ DRM_INFO("Found VCE firmware Version: %d.%d Binary ID: %d\n",
version_major, version_minor, binary_id);
adev->vce.fw_version = ((version_major << 24) | (version_minor << 16) |
(binary_id << 8));