summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_acpi.c
diff options
context:
space:
mode:
authorLuca Tettamanti <kronos.it@gmail.com>2012-10-03 15:00:19 +0200
committerAlex Deucher <alexander.deucher@amd.com>2012-10-15 13:21:00 -0400
commita1871936c0f4f10850a5671c5deb1a92fcca1155 (patch)
treecdb3dfa8a2a78c1cce2f9fff10b18e3faf10c90b /drivers/gpu/drm/radeon/radeon_acpi.c
parentceb736c395058699dc82e5efdb2a9279a5b29451 (diff)
downloadblackbird-op-linux-a1871936c0f4f10850a5671c5deb1a92fcca1155.tar.gz
blackbird-op-linux-a1871936c0f4f10850a5671c5deb1a92fcca1155.zip
drm/radeon: use %zu for formatting size_t
Fixes compiler warnings on 32bit. Signed-off-by: Luca Tettamanti <kronos.it@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_acpi.c')
-rw-r--r--drivers/gpu/drm/radeon/radeon_acpi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_acpi.c b/drivers/gpu/drm/radeon/radeon_acpi.c
index b0a5688c67f8..ecb7e3374a56 100644
--- a/drivers/gpu/drm/radeon/radeon_acpi.c
+++ b/drivers/gpu/drm/radeon/radeon_acpi.c
@@ -201,7 +201,7 @@ static int radeon_atif_verify_interface(acpi_handle handle,
size = *(u16 *) info->buffer.pointer;
if (size < 12) {
- DRM_INFO("ATIF buffer is too small: %lu\n", size);
+ DRM_INFO("ATIF buffer is too small: %zu\n", size);
err = -EINVAL;
goto out;
}
@@ -485,7 +485,7 @@ static int radeon_atcs_verify_interface(acpi_handle handle,
size = *(u16 *) info->buffer.pointer;
if (size < 8) {
- DRM_INFO("ATCS buffer is too small: %lu\n", size);
+ DRM_INFO("ATCS buffer is too small: %zu\n", size);
err = -EINVAL;
goto out;
}
OpenPOWER on IntegriCloud