From: Luciano Coelho Date: Thu, 21 Jun 2012 12:33:10 +0000 (+0300) Subject: wl18xx: use %zu for size_t arguments in printk calls X-Git-Tag: v3.6-rc1~125^2~57^2~246^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41844076c5c3a33636b5c26d19b16c6141c5d6cd;p=pandora-kernel.git wl18xx: use %zu for size_t arguments in printk calls After 934b9d1e (wl18xx: avoid some -Wformat warnings) there was still a warning with (at least) ARM gcc version 4.4.1: drivers/net/wireless/ti/wl18xx/main.c: In function 'wl18xx_conf_init': drivers/net/wireless/ti/wl18xx/main.c:1026: warning: format '%ld' expects type 'long int', but argument 2 has type 'unsigned int' Fix this by using %zu for the both formats, since the fw->size and the macro (derived from sizeof()) are size_t. Signed-off-by: Luciano Coelho --- Reading git-diff-tree failed