summaryrefslogtreecommitdiff
path: root/drivers/misc/lkdtm_heap.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-07-16 23:29:53 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-07-16 23:29:53 (GMT)
commit45c7d71e1675f7ef73acab2738dd6f220005aa2a (patch)
tree97c6a4c79a66ffa019f1c648e81fcef687e97fb1 /drivers/misc/lkdtm_heap.c
parent80f76319634fc62befd440b328042dbd54e3b6f8 (diff)
parent6d2e91a662256fd88ec0505567a59d21094ed415 (diff)
downloadlinux-45c7d71e1675f7ef73acab2738dd6f220005aa2a.tar.xz
Merge tag 'lkdtm-next' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux into char-misc-testing
Kees writes: fixes for lkdtm build warnings
Diffstat (limited to 'drivers/misc/lkdtm_heap.c')
-rw-r--r--drivers/misc/lkdtm_heap.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/misc/lkdtm_heap.c b/drivers/misc/lkdtm_heap.c
index 12f50e8..0f15816 100644
--- a/drivers/misc/lkdtm_heap.c
+++ b/drivers/misc/lkdtm_heap.c
@@ -2,12 +2,8 @@
* This is for all the tests relating directly to heap memory, including
* page allocation and slab allocations.
*/
-#define pr_fmt(fmt) "lkdtm: " fmt
-
-#include <linux/kernel.h>
-#include <linux/slab.h>
-
#include "lkdtm.h"
+#include <linux/slab.h>
/*
* This tries to stay within the next largest power-of-2 kmalloc cache