]> git.baikalelectronics.ru Git - kernel.git/commit
include/asm-generic/bug.h: fix "cut here" for WARN_ON for __WARN_TAINT architectures
authorDrew Davenport <ddavenport@chromium.org>
Tue, 16 Jul 2019 23:30:18 +0000 (16:30 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Jul 2019 02:23:24 +0000 (19:23 -0700)
commit2b52c67642288d23a7b202a29093190b12860524
treec502620d1498eb9a23e3fc5ae1d45e41b36a7682
parentd27a98f48cfa65361baf406dca240605a3e12f9c
include/asm-generic/bug.h: fix "cut here" for WARN_ON for __WARN_TAINT architectures

For architectures using __WARN_TAINT, the WARN_ON macro did not print
out the "cut here" string.  The other WARN_XXX macros would print "cut
here" inside __warn_printk, which is not called for WARN_ON since it
doesn't have a message to print.

Link: http://lkml.kernel.org/r/20190624154831.163888-1-ddavenport@chromium.org
Fixes: e7253f7646a9 ("bug: fix "cut here" location for __WARN_TAINT architectures")
Signed-off-by: Drew Davenport <ddavenport@chromium.org>
Acked-by: Kees Cook <keescook@chromium.org>
Tested-by: Kees Cook <keescook@chromium.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-generic/bug.h