]> git.baikalelectronics.ru Git - kernel.git/commit
kasan: no need to unset panic_on_warn in end_report()
authorTiezhu Yang <yangtiezhu@loongson.cn>
Wed, 23 Mar 2022 23:06:57 +0000 (16:06 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Mar 2022 02:00:35 +0000 (19:00 -0700)
commitd34b9c22a4d309afc4ab2d4803150279637b37b7
tree09ca84681e0871dedb23cdedfe80965a2aadb509
parentd79ed3c6b6fd53abacde233b195b56dfba7850fd
kasan: no need to unset panic_on_warn in end_report()

panic_on_warn is unset inside panic(), so no need to unset it before
calling panic() in end_report().

Link: https://lkml.kernel.org/r/1644324666-15947-6-git-send-email-yangtiezhu@loongson.cn
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Reviewed-by: Marco Elver <elver@google.com>
Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com>
Cc: Baoquan He <bhe@redhat.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Xuefeng Li <lixuefeng@loongson.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/kasan/report.c