aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/lkdtm_usercopy.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/lkdtm_usercopy.c')
-rw-r--r--drivers/misc/lkdtm_usercopy.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/misc/lkdtm_usercopy.c b/drivers/misc/lkdtm_usercopy.c
index 9c748e819a35de..5a3fd76eec27b2 100644
--- a/drivers/misc/lkdtm_usercopy.c
+++ b/drivers/misc/lkdtm_usercopy.c
@@ -2,9 +2,7 @@
* This is for all the tests related to copy_to_user() and copy_from_user()
* hardening.
*/
-#define pr_fmt(fmt) "lkdtm: " fmt
-
-#include <linux/kernel.h>
+#include "lkdtm.h"
#include <linux/slab.h>
#include <linux/vmalloc.h>
#include <linux/mman.h>