Skip to content

Commit

Permalink
drm: radeon: fix printk format warning
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
  • Loading branch information
rddunlap authored and airlied committed Oct 16, 2012
1 parent 39df01c commit bd6126b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/radeon/radeon_atpx_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit bd6126b

Please sign in to comment.