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)
commit86caa4b678956bc19567256dd8422f3978620897
treecd2d657ec8dbac625cae4c4c8ff569827e8a2530
parent7190d84966b34de3892cd4eb8698a2229ceb8d82
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