mm/debug.c: provide useful debugging information for VM_BUG
authorMatthew Wilcox <mawilcox@microsoft.com>
Fri, 5 Jan 2018 00:17:59 +0000 (16:17 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 5 Jan 2018 00:45:09 +0000 (16:45 -0800)
commit152a2d199e1385c6ccef17c24555103b30447c91
treec01be7a8eeadc9c101110d784f89509445a40900
parentdc8635b78cd8669c37e230058d18c33af7451ab1
mm/debug.c: provide useful debugging information for VM_BUG

With the recent addition of hashed kernel pointers, places which need to
produce useful debug output have to specify %px, not %p.  This patch
fixes all the VM debug to use %px.  This is appropriate because it's
debug output that the user should never be able to trigger, and kernel
developers need to see the actual pointers.

Link: http://lkml.kernel.org/r/20171219133236.GE13680@bombadil.infradead.org
Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Cc: "Tobin C. Harding" <me@tobin.cc>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/debug.c