]> git.baikalelectronics.ru Git - kernel.git/commit
s390/crash: remove redundant panic() on save area allocation failure
authorAlexander Gordeev <agordeev@linux.ibm.com>
Fri, 15 Jul 2022 10:02:33 +0000 (12:02 +0200)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Wed, 20 Jul 2022 15:21:41 +0000 (17:21 +0200)
commitf334bb59f0c4c9db293b81f6b4cef339a3e9e042
treecd2d657ec8dbac625cae4c4c8ff569827e8a2530
parent306fe21d70c4ef0d314b304bbe33a69f10f67946
s390/crash: remove redundant panic() on save area allocation failure

Make save_area_alloc() return classic NULL on allocation failure.
The only caller smp_save_dump_cpus() does check the return value
already and panics if NULL is returned.

Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/kernel/crash_dump.c