diff options
author | Liao Chang <liaochang1@huawei.com> | 2022-11-03 09:18:15 +0800 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2022-11-11 15:45:06 +0100 |
commit | fa706927f4722a2df723b2a28d139b1904a3e7fa (patch) | |
tree | 1245de0123de26e0258806532a03a0765d040426 /arch/mips/dec/prom | |
parent | 612d80784fdc0c2e2ee2e2d901a55ef2f72ebf4b (diff) | |
download | linux-fa706927f4722a2df723b2a28d139b1904a3e7fa.tar.bz2 |
MIPS: Loongson64: Add WARN_ON on kexec related kmalloc failed
Add WARN_ON on kexec related kmalloc failed, avoid to pass NULL pointer
to following memcpy and loongson_kexec_prepare.
Fixes: 6ce48897ce47 ("MIPS: Loongson64: Add kexec/kdump support")
Signed-off-by: Liao Chang <liaochang1@huawei.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/dec/prom')
0 files changed, 0 insertions, 0 deletions