UBSAN: fix typo in format string
authorNicolas Iooss <[email protected]>
Tue, 2 Aug 2016 21:03:10 +0000 (14:03 -0700)
committerLinus Torvalds <[email protected]>
Tue, 2 Aug 2016 21:31:41 +0000 (17:31 -0400)
commit901d805c33fc4c029fc6b2d94ee5fb7d30278045
tree2a39b3f85d6038c28bd7b074fe6f161624d2b33a
parent9b24fef9f0410fb5364245d6cc2bd044cc064007
UBSAN: fix typo in format string

handle_object_size_mismatch() used %pk to format a kernel pointer with
pr_err().  This seemed to be a misspelling for %pK, but using this to
format a kernel pointer does not make much sence here.

Therefore use %p instead, like in handle_missaligned_access().

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Nicolas Iooss <[email protected]>
Acked-by: Andrey Ryabinin <[email protected]>
Cc: Joe Perches <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
lib/ubsan.c