summaryrefslogtreecommitdiffstats
path: root/drivers/misc/lkdtm_core.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2016-06-03 11:16:32 -0700
committerKees Cook <keescook@chromium.org>2016-06-10 15:57:49 -0700
commit426f3a53d4a1ffbe228f268e5c4af148686b7346 (patch)
tree64615ba7abb72227da2053e8d61102a774136aca /drivers/misc/lkdtm_core.c
parent9e197e2f894c0270ffabd314d73c7730b09ac63c (diff)
downloadlinux-426f3a53d4a1ffbe228f268e5c4af148686b7346.tar.gz
linux-426f3a53d4a1ffbe228f268e5c4af148686b7346.tar.bz2
linux-426f3a53d4a1ffbe228f268e5c4af148686b7346.zip
lkdtm: clean up after rename
This cleans up comments a bit to improve readability, adjusts the name of the module after the source file renaming, and corrects the MAINTAINERS for the upcoming lkdtm files. Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'drivers/misc/lkdtm_core.c')
-rw-r--r--drivers/misc/lkdtm_core.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/misc/lkdtm_core.c b/drivers/misc/lkdtm_core.c
index 0a5cbbe12452..605050c60f10 100644
--- a/drivers/misc/lkdtm_core.c
+++ b/drivers/misc/lkdtm_core.c
@@ -1,5 +1,9 @@
/*
- * Kprobe module for testing crash dumps
+ * Linux Kernel Dump Test Module for testing kernel crashes conditions:
+ * induces system failures at predefined crashpoints and under predefined
+ * operational conditions in order to evaluate the reliability of kernel
+ * sanity checking and crash dumps obtained using different dumping
+ * solutions.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -19,10 +23,6 @@
*
* Author: Ankita Garg <ankita@in.ibm.com>
*
- * This module induces system failures at predefined crashpoints to
- * evaluate the reliability of crash dumps obtained using different dumping
- * solutions.
- *
* It is adapted from the Linux Kernel Dump Test Tool by
* Fernando Luis Vazquez Cao <http://lkdtt.sourceforge.net>
*
@@ -30,7 +30,7 @@
*
* See Documentation/fault-injection/provoke-crashes.txt for instructions
*/
-#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+#define pr_fmt(fmt) "lkdtm: " fmt
#include <linux/kernel.h>
#include <linux/fs.h>