diff options
| author | Liao Chang <[email protected]> | 2022-11-03 01:18:15 +0000 |
|---|---|---|
| committer | Thomas Bogendoerfer <[email protected]> | 2022-11-11 14:45:06 +0000 |
| commit | fa706927f4722a2df723b2a28d139b1904a3e7fa (patch) | |
| tree | 1245de0123de26e0258806532a03a0765d040426 /lib/test-string_helpers.c | |
| parent | MIPS: fix duplicate definitions for exported symbols (diff) | |
| download | kernel-fa706927f4722a2df723b2a28d139b1904a3e7fa.tar.gz kernel-fa706927f4722a2df723b2a28d139b1904a3e7fa.zip | |
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 <[email protected]>
Signed-off-by: Thomas Bogendoerfer <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions
