]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm, mempool: use '%zu' for printing 'size_t' variable
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 7 Apr 2015 23:44:31 +0000 (09:44 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 7 Apr 2015 23:44:31 +0000 (09:44 +1000)
commit5f9fe7ce076a36907ef9139383167d1e91aff785
treeda82a25a37146f3d1669ef9bf30b5fa69a9c5096
parent490c9fbd06a89af6b0892f3e32a488abdff84faa
mm, mempool: use '%zu' for printing 'size_t' variable

fix printk warning

Commit 8b65aaa9c53404 ("mm, mempool: poison elements backed by page allocator")
caused the following build warning on ARM:

mm/mempool.c:31:2: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' [-Wformat]

Use '%zu' for printing 'size_t' variable.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/mempool.c