Re: mmotm 2010-10-31-21-24 uploaded (drivers/nfc/pn544)

From: Matti J. Aaltonen
Date: Thu Nov 04 2010 - 09:07:24 EST


On Mon, 2010-11-01 at 11:00 -0700, ext Randy Dunlap wrote:
> On Sun, 31 Oct 2010 21:25:59 -0700 akpm@xxxxxxxxxxxxxxxxxxxx wrote:
>
> > The mm-of-the-moment snapshot 2010-10-31-21-24 has been uploaded to
> >
> > http://userweb.kernel.org/~akpm/mmotm/
> >
> > and will soon be available at
> >
> > git://zen-kernel.org/kernel/mmotm.git
> >
> > It contains the following patches against 2.6.36:
> >
> > nfc-driver-for-nxp-semiconductors-pn544-nfc-chip.patch
>
>
> Use %zd to print ssize_t variables and %zu to print size_t:
>
> drivers/nfc/pn544.c:332: warning: format '%d' expects type 'int', but argument 6 has type 'size_t'
> drivers/nfc/pn544.c:442: warning: format '%d' expects type 'int', but argument 6 has type 'size_t'

Thanks, I'll do that... I'm using Sparse and checkpatch --strict but
neither gave me a warning about that.

Cheers,
Matti

>
>
> Also see Documentation/printk-formats.txt as needed.
>
> ---
> ~Randy
> *** Remember to use Documentation/SubmitChecklist when testing your code ***


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