Re: [PATCH] drm/cma: Fix 64-bit size_t build warnings

From: Geert Uytterhoeven
Date: Thu Feb 19 2015 - 05:46:42 EST


On Thu, Feb 19, 2015 at 2:06 AM, Magnus Damm <magnus.damm@xxxxxxxxx> wrote:
> From: Magnus Damm <damm+renesas@xxxxxxxxxxxxx>
>
> Fix warnings related to size_t when building for 64-bit architectures:
>
> drivers/gpu/drm/drm_gem_cma_helper.c: In function ÃâËdrm_gem_cma_createÃââ:

Content-Type: TEXT/PLAIN; charset=ISO-8859-1

But the atcual content is UTF8?

> drivers/gpu/drm/drm_gem_cma_helper.c:114:4: warning: format ÃâË%dÃââ expects argument of type ÃâËintÃââ, but argument 3 has type ÃâËsize_tÃââ [-Wformat=]
> size);
> ^
> drivers/gpu/drm/drm_gem_cma_helper.c: In function ÃâËdrm_gem_cma_describeÃââ:
> drivers/gpu/drm/drm_gem_cma_helper.c:393:4: warning: format ÃâË%dÃââ expects argument of type ÃâËintÃââ, but argument 8 has type ÃâËsize_tÃââ [-Wformat=]
> off, &cma_obj->paddr, cma_obj->vaddr, obj->size);
>
> Signed-off-by: Magnus Damm <damm+renesas@xxxxxxxxxxxxx>

Acked-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/