diff options
author | Luca Tettamanti <kronos.it@gmail.com> | 2012-10-03 15:00:19 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2012-10-15 13:21:00 -0400 |
commit | a1871936c0f4f10850a5671c5deb1a92fcca1155 (patch) | |
tree | cdb3dfa8a2a78c1cce2f9fff10b18e3faf10c90b /drivers/gpu/drm/radeon | |
parent | ceb736c395058699dc82e5efdb2a9279a5b29451 (diff) | |
download | linux-3.10-a1871936c0f4f10850a5671c5deb1a92fcca1155.tar.gz linux-3.10-a1871936c0f4f10850a5671c5deb1a92fcca1155.tar.bz2 linux-3.10-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')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_acpi.c | 4 |
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 b0a5688c67f..ecb7e3374a5 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; } |