Re: [PATCH 1/7] remoteproc: fix print format warnings

From: Ohad Ben-Cohen
Date: Sun Jun 10 2012 - 08:05:55 EST


On Wed, Jun 6, 2012 at 4:38 PM, <sjur.brandeland@xxxxxxxxxxxxxx> wrote:
> From: Sjur Brændeland <sjur.brandeland@xxxxxxxxxxxxxx>
>
> Fix compile warnings from GCC 4.6.1 when printing values of type size_t.
>
> drivers/remoteproc/remoteproc_core.c:251:6:
> warning: format ‘%x’ expects argument of type ‘unsigned int’,
> but argument 4 has type ‘size_t’ [-Wformat]
> drivers/remoteproc/remoteproc_core.c:938:9:
> warning: format ‘%u’ expects argument of type ‘unsigned int’,
> but argument 4 has type ‘size_t’ [-Wformat]
> drivers/remoteproc/remoteproc_core.c:1023:2:
> warning: format ‘%d’ expects argument of type ‘int’,
> but argument 4 has type ‘size_t’ [-Wformat]
>
> Signed-off-by: Sjur Brændeland <sjur.brandeland@xxxxxxxxxxxxxx>

Cc'ed stable, applied and pushed to remoteproc's fixes branch.

Thanks,
Ohad.
--
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/