diff options
| author | Thorsten Blum <[email protected]> | 2025-04-07 16:32:21 +0000 |
|---|---|---|
| committer | Thomas Bogendoerfer <[email protected]> | 2025-04-27 08:13:22 +0000 |
| commit | 7f74c066e5d920b3a2f0f936060984e3b3709250 (patch) | |
| tree | 65991c763a1bf495fa84d8a0ffda1e9e02768a05 /rust/helpers/xarray.c | |
| parent | MIPS: rename rollback_handler with skipover_handler (diff) | |
| download | kernel-7f74c066e5d920b3a2f0f936060984e3b3709250.tar.gz kernel-7f74c066e5d920b3a2f0f936060984e3b3709250.zip | |
MIPS: CPS: Fix potential NULL pointer dereferences in cps_prepare_cpus()
Check the return values of kcalloc() and exit early to avoid potential
NULL pointer dereferences.
Compile-tested only.
Cc: [email protected]
Fixes: 75fa6a583882e ("MIPS: CPS: Introduce struct cluster_boot_config")
Fixes: 0856c143e1cd3 ("MIPS: CPS: Boot CPUs in secondary clusters")
Signed-off-by: Thorsten Blum <[email protected]>
Signed-off-by: Thomas Bogendoerfer <[email protected]>
Diffstat (limited to 'rust/helpers/xarray.c')
0 files changed, 0 insertions, 0 deletions
