aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ipc/util.c
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2014-04-07 15:39:12 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-07 16:36:10 -0700
commit4e50ebde32bed67a9aec8c239bbd89e5d0b8727b (patch)
treeedd795dfd8709ed19b766977350df17f2e3ac19b /ipc/util.c
parentinclude/asm-generic/bug.h: style fix: s/while(0)/while (0)/ (diff)
downloadwireguard-linux-4e50ebde32bed67a9aec8c239bbd89e5d0b8727b.tar.xz
wireguard-linux-4e50ebde32bed67a9aec8c239bbd89e5d0b8727b.zip
bug: when !CONFIG_BUG, make WARN call no_printk to check format and args
The stub version of WARN for !CONFIG_BUG completely ignored its format string and subsequent arguments; make it check them instead, using no_printk. Signed-off-by: Josh Triplett <josh@joshtriplett.org> Reported-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc/util.c')
0 files changed, 0 insertions, 0 deletions