summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLukasz Luba <lukasz.luba@arm.com>2025-02-24 20:33:03 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2025-02-26 22:55:42 +0300
commitc65b5c5187439ae940462c83d430204631045d06 (patch)
treebe2a627ce0a01ef7b5cd7775ffa880ae58b477c1 /tools/perf/scripts/python
parente6ca59bb3c8f3fe00a9dc1ec72bcb77cd4ecd242 (diff)
downloadlinux-c65b5c5187439ae940462c83d430204631045d06.tar.xz
thermal/of: Use kcalloc() instead of kzalloc() with multiplication
According to the latest recommendations, kcalloc() should be used instead of kzalloc() with multiplication (which might overflow). Switch to this new scheme and use more safe kcalloc(). No functional impact. Signed-off-by: Lukasz Luba <lukasz.luba@arm.com> Link: https://patch.msgid.link/20250224173432.1946070-2-lukasz.luba@arm.com [ rjw: Subject and changelog edits ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions