lkdtm/stackleak: Fix noinstr violation
authorJosh Poimboeuf <jpoimboe@kernel.org>
Wed, 12 Apr 2023 17:24:08 +0000 (10:24 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 May 2023 16:32:41 +0000 (17:32 +0100)
commit4e2df9111887c6147d596549b83801f5b4309112
treeb5435e9797207eb4b9269c5740a4177a685ab3ef
parentfa825017fb15e44a3be061e2ed379601dc83ef3d
lkdtm/stackleak: Fix noinstr violation

[ Upstream commit f571da059f86fd9d432aea32c9c7e5aaa53245d8 ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/misc/lkdtm/stackleak.c