Messages in this thread | | | Date | Mon, 1 Nov 2010 11:00:24 -0700 | From | Randy Dunlap <> | Subject | Re: mmotm 2010-10-31-21-24 uploaded (drivers/nfc/pn544) |
| |
On Sun, 31 Oct 2010 21:25:59 -0700 akpm@linux-foundation.org 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 ***
| |