aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2021-11-16 11:06:38 +0100
committerHeiko Carstens <hca@linux.ibm.com>2021-11-18 17:25:35 +0100
commit20c76e242e7025bd355619ba67beb243ba1a1e95 (patch)
tree58c3e6c2e4cd4b129c446e7465fe38eef30c9df9 /arch/s390/include/asm
parents390/dump: fix copying to user-space of swapped kdump oldmem (diff)
downloadlinux-dev-20c76e242e7025bd355619ba67beb243ba1a1e95.tar.xz
linux-dev-20c76e242e7025bd355619ba67beb243ba1a1e95.zip
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>
Diffstat (limited to 'arch/s390/include/asm')
0 files changed, 0 insertions, 0 deletions