diff options
author | 2017-05-23 12:33:06 +0530 | |
---|---|---|
committer | 2017-05-27 17:33:04 -0700 | |
commit | f19b1a1735f7453c35031ed5ca3883f20176dde6 (patch) | |
tree | 3348826afcc73055ae91cf3b2cb2db2828c485c3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | thermal: cpu_cooling: Rearrange struct cpufreq_cooling_device (diff) | |
download | wireguard-linux-f19b1a1735f7453c35031ed5ca3883f20176dde6.tar.xz wireguard-linux-f19b1a1735f7453c35031ed5ca3883f20176dde6.zip |
thermal: cpu_cooling: Replace kmalloc with kmalloc_array
Checkpatch reports following:
WARNING: Prefer kmalloc_array over kmalloc with multiply
+ cpufreq_cdev->freq_table = kmalloc(sizeof(*cpufreq_cdev->freq_table) * i,
Fix that.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions