From: Randy Dunlap Date: Tue, 29 Mar 2011 19:35:23 +0000 (-0700) Subject: mtd: mtdswap: fix printk format warning X-Git-Tag: v2.6.39-rc3~8^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2130ad32a03f8d2d772cbbd94eff5358d8ab9e33;p=pandora-kernel.git mtd: mtdswap: fix printk format warning The number is actually a sizeof(), so using %zu for it builds cleanly on 32-bit or 64-bit. drivers/mtd/mtdswap.c:1456: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'unsigned int' Signed-off-by: Randy Dunlap Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed