[PATCH 15/18] [media] s5p_mfc_opr: Fix warnings

Fabio Estevam festevam at gmail.com
Wed Sep 24 16:02:19 PDT 2014


Hi Mauro,

On Wed, Sep 24, 2014 at 7:27 PM, Mauro Carvalho Chehab
<mchehab at osg.samsung.com> wrote:


> drivers/media//platform/s5p-mfc/s5p_mfc_opr.c:44:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘size_t’ [-Wformat=]

...

> -       mfc_debug(3, "Allocating priv: %d\n", b->size);
> +       mfc_debug(3, "Allocating priv: %zd\n", b->size);

This should be %zu instead.



More information about the linux-arm-kernel mailing list