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

From: Randy Dunlap
Date: Mon Nov 01 2010 - 14:01:30 EST


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'


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/