]> git.karo-electronics.de Git - karo-tx-linux.git/commit
asymmetric keys: fix printk format warning
authorRandy Dunlap <rdunlap@xenotime.net>
Wed, 3 Oct 2012 23:04:46 +0000 (16:04 -0700)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 4 Oct 2012 03:18:07 +0000 (12:48 +0930)
commitcad326d46cf523cbb47fe725d86ea1ccefac5e9b
tree7cf8cc505d049e3ef2057dbdf33fabe9071e6301
parent597850f101d19bbd54252ea262bdffe22bf7ddfe
asymmetric keys: fix printk format warning

Fix printk format warning in x509_cert_parser.c:

crypto/asymmetric_keys/x509_cert_parser.c: In function 'x509_note_OID':
crypto/asymmetric_keys/x509_cert_parser.c:113:3: warning: format '%zu' expects type 'size_t', but argument 2 has type 'long unsigned int'

Builds cleanly on i386 and x86_64.

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Cc: David Howells <dhowells@redhat.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: linux-crypto@vger.kernel.org
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
crypto/asymmetric_keys/x509_cert_parser.c