Files
linux/drivers/cpufreq/sparc-us2e-cpufreq.c
Ethan Carter Edwards af6cc45af3 cpufreq: sparc: change kzalloc to kcalloc
Refactor to use kcalloc instead of kzalloc when multiplying
allocation size by count. This refactor prevents unintentional
memory overflows. Discovered by checkpatch.pl.

Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2024-12-24 09:48:58 +05:30

8.3 KiB