Re: [PATCH -next] sound/soc: fix printk format warning

From: Mark Brown
Date: Tue Sep 28 2010 - 13:32:52 EST


On Tue, Sep 28, 2010 at 09:58:46AM -0700, Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

> Fix dev_printk format warning:

> sound/soc/codecs/wm8985.c:731: warning: format '%d' expects type 'int', but argument 4 has type 'size_t'

> Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

Takashi already fixed that (and the change already seems to be in
-next...).

When reporting type based warnings please always report the
architecture you're building for, GCC seems to only generate the
warnings if there's a difference in the underlying typedef which means
that they don't always trigger on every architecture.
--
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/