Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pm: cpupower: bench: Prevent NULL dereference on malloc failure
[ Upstream commit 208baa3 ] If malloc returns NULL due to low memory, 'config' pointer can be NULL. Add a check to prevent NULL dereference. Link: https://lore.kernel.org/r/20250219122715.3892223-1-quic_zhonhan@quicinc.com Signed-off-by: Zhongqiu Han <quic_zhonhan@quicinc.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
- linux-6.12.24-mpi
- linux-6.12.25-mpi
- linux-6.12.26-mpi
- linux-6.12.27-mpi
- linux-6.12.28-mpi
- linux-6.12.29-mpi
- linux-6.12.30-mpi
- linux-6.12.31-mpi
- linux-6.12.32-mpi
- linux-6.12.33-mpi
- linux-6.12.34-mpi
- linux-6.12.35-mpi
- linux-6.12.36-mpi
- linux-6.12.37-mpi
- linux-6.12.38-mpi
- linux-6.12.39-mpi
- linux-6.12.40-mpi
- linux-6.12.41-mpi