Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7df01a21 authored by Matthew Wilcox's avatar Matthew Wilcox Committed by Alistair Strachan
Browse files

BACKPORT: 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: default avatarMatthew Wilcox <mawilcox@microsoft.com>
Acked-by: default avatarMichal Hocko <mhocko@suse.com>
Cc: "Tobin C. Harding" <me@tobin.cc>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit 152a2d199e1385c6ccef17c24555103b30447c91)
Signed-off-by: default avatarSandeep Patil <sspatil@android.com>

Bug: 124090075
Test: Build and boot cuttlefish
Change-Id: I547bb27cd5bab8886ef192c6c0f9aac816149adb
parent 96dc04da
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment