diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2012-10-16 02:15:45 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-10-16 02:15:45 +0200 |
commit | bd6126bd0766cb0e03a4d832cc3611dff5ea8e50 (patch) | |
tree | d86b1ba5c3d2c379cbb45949095d8af302c5badf /drivers | |
parent | Merge branch 'drm-fixes-3.7' of git://people.freedesktop.org/~agd5f/linux int... (diff) | |
download | linux-bd6126bd0766cb0e03a4d832cc3611dff5ea8e50.tar.xz linux-bd6126bd0766cb0e03a4d832cc3611dff5ea8e50.zip |
drm: radeon: fix printk format warning
drivers/gpu/drm/radeon/radeon_atpx_handler.c:151:3: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'size_t'
[airlied: Alex had others fixed already, except for atpx one]
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_atpx_handler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_atpx_handler.c b/drivers/gpu/drm/radeon/radeon_atpx_handler.c index 582e99449c12..1aa3f910b993 100644 --- a/drivers/gpu/drm/radeon/radeon_atpx_handler.c +++ b/drivers/gpu/drm/radeon/radeon_atpx_handler.c @@ -148,7 +148,7 @@ static int radeon_atpx_verify_interface(struct radeon_atpx *atpx) size = *(u16 *) info->buffer.pointer; if (size < 8) { - printk("ATPX buffer is too small: %lu\n", size); + printk("ATPX buffer is too small: %zu\n", size); err = -EINVAL; goto out; } |