aboutsummaryrefslogtreecommitdiff
path: root/lib/test_debug_virtual.c
AgeCommit message (Collapse)AuthorFilesLines
2017-09-08lib: add test module for CONFIG_DEBUG_VIRTUALFlorian Fainelli1-0/+49
Add a test module that allows testing that CONFIG_DEBUG_VIRTUAL works correctly, at least that it can catch invalid calls to virt_to_phys() against the non-linear kernel virtual address map. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Florian Fainelli <[email protected]> Cc: "Luis R. Rodriguez" <[email protected]> Cc: Kees Cook <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>