]> git.baikalelectronics.ru Git - kernel.git/commit
s390/kdump: Remove kzalloc_panic
authorPhilipp Rudo <prudo@linux.ibm.com>
Mon, 13 Aug 2018 10:45:06 +0000 (12:45 +0200)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 16 Aug 2018 12:49:15 +0000 (14:49 +0200)
commit331a3b8df083fa17ade38d63b30c2519ba198485
tree272f390e448080aba50b7194bc011359fea77568
parentf970d1f7705418ef5656a114f0784197765007a4
s390/kdump: Remove kzalloc_panic

For this function there are only two users, when 1) the elfcorehdr and 2)
the vmcoreinfo is allocated. However a missing vmcoreinfo is not critical
for kdump. So panicking when it cannot be allocated is not required.

Remove kzalloc_panic and adjust its callers accordingly.

Signed-off-by: Philipp Rudo <prudo@linux.ibm.com>
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
arch/s390/kernel/crash_dump.c