[PATCH] module_signing: fix printk format warning

From: Randy Dunlap
Date: Sat Oct 20 2012 - 21:59:29 EST

From: Randy Dunlap <rdunlap@xxxxxxxxxxxx>

kernel/module_signing.c:195:2: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'size_t'

Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxx>
Cc: David Howells <dhowells@xxxxxxxxxx>
kernel/module_signing.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- lnx-37-rc2.orig/kernel/module_signing.c
+++ lnx-37-rc2/kernel/module_signing.c
@@ -192,7 +192,7 @@ int mod_verify_sig(const void *mod, unsi
size_t modlen = *_modlen, sig_len;
int ret;

- pr_devel("==>%s(,%lu)\n", __func__, modlen);
+ pr_devel("==>%s(,%zu)\n", __func__, modlen);

if (modlen <= sizeof(ms))
return -EBADMSG;
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/