aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/asm-generic/bug.h
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2019-09-25 16:48:01 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2019-09-25 17:51:40 -0700
commitd38aba49a9f72b862f1220739ca837c886fdc319 (patch)
tree5fbd7c166348c540777455a66c26635c8cde4c75 /include/asm-generic/bug.h
parentbug: consolidate warn_slowpath_fmt() usage (diff)
downloadwireguard-linux-d38aba49a9f72b862f1220739ca837c886fdc319.tar.xz
wireguard-linux-d38aba49a9f72b862f1220739ca837c886fdc319.zip
bug: lift "cut here" out of __warn()
In preparation for cleaning up "cut here", move the "cut here" logic up out of __warn() and into callers that pass non-NULL args. For anyone looking closely, there are two callers that pass NULL args: one already explicitly prints "cut here". The remaining case is covered by how a WARN is built, which will be cleaned up in the next patch. Link: http://lkml.kernel.org/r/20190819234111.9019-5-keescook@chromium.org Signed-off-by: Kees Cook <keescook@chromium.org> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Borislav Petkov <bp@suse.de> Cc: Christophe Leroy <christophe.leroy@c-s.fr> Cc: Drew Davenport <ddavenport@chromium.org> Cc: Feng Tang <feng.tang@intel.com> Cc: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Petr Mladek <pmladek@suse.com> Cc: "Steven Rostedt (VMware)" <rostedt@goodmis.org> Cc: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-generic/bug.h')
0 files changed, 0 insertions, 0 deletions