aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/module_signing.c
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@xenotime.net>2012-10-21 01:59:31 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2012-10-22 05:56:34 (GMT)
commit0390c8835690506802fd5d54ea5444f0b9b1708b (patch)
tree189107b966d635ff78a652a860bacde25a3f8503 /kernel/module_signing.c
parent4fe7e866a7d43479ac8d8a610023a9c9275f488f (diff)
downloadkernel_replicant_linux-0390c8835690506802fd5d54ea5444f0b9b1708b.zip
kernel_replicant_linux-0390c8835690506802fd5d54ea5444f0b9b1708b.tar.gz
kernel_replicant_linux-0390c8835690506802fd5d54ea5444f0b9b1708b.tar.bz2
module_signing: fix printk format warning
Fix the warning: kernel/module_signing.c:195:2: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'size_t' by using the proper 'z' modifier for printing a size_t. Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Cc: David Howells <dhowells@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/module_signing.c')
-rw-r--r--kernel/module_signing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/module_signing.c b/kernel/module_signing.c
index d492a23..ea1b1df 100644
--- a/kernel/module_signing.c
+++ b/kernel/module_signing.c
@@ -192,7 +192,7 @@ int mod_verify_sig(const void *mod, unsigned long *_modlen)
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;