Skip to content
Commit af6cc45a authored by Ethan Carter Edwards's avatar Ethan Carter Edwards Committed by Viresh Kumar
Browse files

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: default avatarEthan Carter Edwards <ethan@ethancedwards.com>
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
parent a9ba290d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment