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

Mauro Carvalho Chehab mchehab at osg.samsung.com
Wed Sep 24 16:25:14 PDT 2014


Em Wed, 24 Sep 2014 20:02:19 -0300
Fabio Estevam <festevam at gmail.com> escreveu:

> 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.

Thanks! fixed on both patches.

Regards,
Mauro



More information about the linux-arm-kernel mailing list