Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Eduardo Valentin <[email protected]>
- Loading branch information