Commit d32f11ba authored by Kees Cook's avatar Kees Cook Committed by Linus Torvalds
Browse files

lkdtm: include WARN format string

In order to test the ordering of WARN format strings, actually include
one in LKDTM.


Signed-off-by: default avatarKees Cook <>
Cc: Arnd Bergmann <>
Cc: Fengguang Wu <>
Cc: Ingo Molnar <>
Cc: Josh Poimboeuf <>
Cc: Peter Zijlstra (Intel) <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent d15809f3
......@@ -63,9 +63,11 @@ void lkdtm_BUG(void)
static int warn_counter;
void lkdtm_WARNING(void)
WARN(1, "Warning message trigger count: %d\n", warn_counter++);
void lkdtm_EXCEPTION(void)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment