summaryrefslogtreecommitdiff
path: root/Documentation/features/debug/stackprotector
diff options
context:
space:
mode:
authorEthan Carter Edwards <ethan@ethancedwards.com>2024-12-23 17:41:24 +0300
committerViresh Kumar <viresh.kumar@linaro.org>2024-12-24 07:18:58 +0300
commitaf6cc45af3db12f452bfdc9a515da54b56412756 (patch)
treec8786f2717310ababdd08330caad704c7b39f1f6 /Documentation/features/debug/stackprotector
parenta9ba290d0b829012574b6821ba08815046e60c94 (diff)
downloadlinux-af6cc45af3db12f452bfdc9a515da54b56412756.tar.xz
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 'Documentation/features/debug/stackprotector')
0 files changed, 0 insertions, 0 deletions