summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorDrew Davenport <ddavenport@chromium.org>2019-07-16 16:30:18 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-07-26 09:11:07 +0200
commit866981b4d498cf2de8f2c6334fc71c1dbb3bef7c (patch)
treedac1d40aa9d1bd11309de6c017908e1f698fbc91 /kernel
parentc8ab9aafa60a92e95e148cd3b5af91843492fcd1 (diff)
include/asm-generic/bug.h: fix "cut here" for WARN_ON for __WARN_TAINT architectures
commit 6b15f678fb7d5ef54e089e6ace72f007fe6e9895 upstream. 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: a7bed27af194 ("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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions