lkdtm/stackleak: Fix noinstr violation
authorJosh Poimboeuf <jpoimboe@kernel.org>
Wed, 12 Apr 2023 17:24:08 +0000 (10:24 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Fri, 14 Apr 2023 14:08:26 +0000 (16:08 +0200)
commitf571da059f86fd9d432aea32c9c7e5aaa53245d8
tree93b2d46800a5d368a0bb7c8d1c806f2b69075887
parente0b081d17a9f4e5c0cbb0e5fbeb1abe3de0f7e4e
lkdtm/stackleak: Fix noinstr violation

Fixes the following warning:

  vmlinux.o: warning: objtool: check_stackleak_irqoff+0x2b6: call to _printk() leaves .noinstr.text section

Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/ee5209f53aa0a62aea58be18f2b78b17606779a6.1681320026.git.jpoimboe@kernel.org
drivers/misc/lkdtm/stackleak.c