Files
linux/tools/power/cpupower/bench
Zhongqiu Han 208baa3ec9 pm: cpupower: bench: Prevent NULL dereference on malloc failure
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/[email protected]
Signed-off-by: Zhongqiu Han <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
2025-02-19 13:48:08 -07:00
..