aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJavi Merino <[email protected]>2015-03-20 18:20:13 +0000
committerEduardo Valentin <[email protected]>2015-05-04 21:27:54 -0700
commit0cdf97e1ad8d796313de051528f06c1b16f3a679 (patch)
treec549490cf55763470c4e07b2767c126a65bec3d8 /tools/perf/scripts/python/export-to-postgresql.py
parent95d079ef6710e0f60dd87d887a3cfee5bf25af5f (diff)
thermal: cpu_cooling: Check memory allocation of power_table
We allocate the power_table in memory but we don't test whether the allocation succeeded. Return -ENOMEM if kcalloc() fails. Fixes: e0128d8ab423 ("thermal: cpu_cooling: implement the power cooling device API") Cc: Eduardo Valentin <[email protected]> Cc: Zhang Rui <[email protected]> Reported-by: kbuild test robot <[email protected]> Signed-off-by: Javi Merino <[email protected]> Signed-off-by: Eduardo Valentin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions