]> git.baikalelectronics.ru Git - kernel.git/commit
kernel/panic.c: make oops_may_print() return bool
authorTiezhu Yang <yangtiezhu@loongson.cn>
Wed, 12 Aug 2020 01:36:46 +0000 (18:36 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 Aug 2020 17:58:01 +0000 (10:58 -0700)
commit0e025448a93c813eb2c72973ba32a04d6b49a648
treeba51eeb847b8a46c7dbfbac26bda55b01b73e94c
parent31e935cbfedad8017d078241d1131e5fdf31a7ff
kernel/panic.c: make oops_may_print() return bool

The return value of oops_may_print() is true or false, so change its type
to reflect that.

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Cc: Xuefeng Li <lixuefeng@loongson.cn>
Link: http://lkml.kernel.org/r/1591103358-32087-1-git-send-email-yangtiezhu@loongson.cn
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/kernel.h
kernel/panic.c