Heiko Carstens 20c76e242e s390/kexec: fix return code handling
kexec_file_add_ipl_report ignores that ipl_report_finish may fail and
can return an error pointer instead of a valid pointer.
Fix this and simplify by returning NULL in case of an error and let
the only caller handle this case.

Fixes: 99feaa717e55 ("s390/kexec_file: Create ipl report and pass to next kernel")
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
2021-11-18 17:25:35 +01:00
..
2021-10-19 15:39:54 +02:00
2021-08-05 14:10:53 +02:00
2021-07-30 17:09:23 +02:00
2021-07-27 09:39:19 +02:00