summaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorEthan Carter Edwards <ethan@ethancedwards.com>2024-12-23 14:41:24 +0000
committerViresh Kumar <viresh.kumar@linaro.org>2024-12-24 09:48:58 +0530
commitaf6cc45af3db12f452bfdc9a515da54b56412756 (patch)
treec8786f2717310ababdd08330caad704c7b39f1f6 /net/lapb/lapb_timer.c
parenta9ba290d0b829012574b6821ba08815046e60c94 (diff)
downloadlinux-af6cc45af3db12f452bfdc9a515da54b56412756.tar.gz
linux-af6cc45af3db12f452bfdc9a515da54b56412756.tar.bz2
linux-af6cc45af3db12f452bfdc9a515da54b56412756.zip
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>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions