Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bd6126bd authored by Randy Dunlap's avatar Randy Dunlap Committed by Dave Airlie
Browse files

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: default avatarRandy Dunlap <rdunlap@xenotime.net>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 39df01cd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
	}