diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2012-10-16 10:15:45 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-10-16 10:15:45 +1000 |
commit | bd6126bd0766cb0e03a4d832cc3611dff5ea8e50 (patch) | |
tree | d86b1ba5c3d2c379cbb45949095d8af302c5badf | |
parent | 39df01cd6ce9f6dd755ace0030e2bebe75da7727 (diff) | |
download | op-kernel-dev-bd6126bd0766cb0e03a4d832cc3611dff5ea8e50.zip op-kernel-dev-bd6126bd0766cb0e03a4d832cc3611dff5ea8e50.tar.gz |
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>
-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 582e994..1aa3f91 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; } |