[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <50835703.30608@xenotime.net>
Date: Sat, 20 Oct 2012 18:59:31 -0700
From: Randy Dunlap <rdunlap@...otime.net>
To: LKML <linux-kernel@...r.kernel.org>,
Linus Torvalds <torvalds@...ux-foundation.org>
CC: David Howells <dhowells@...hat.com>
Subject: [PATCH] module_signing: fix printk format warning
From: Randy Dunlap <rdunlap@...otime.net>
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@...otime.net>
Cc: David Howells <dhowells@...hat.com>
---
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists