summaryrefslogtreecommitdiff
path: root/rust/helpers
diff options
context:
space:
mode:
authorLukasz Luba <lukasz.luba@arm.com>2025-02-24 17:33:04 +0000
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2025-02-26 20:55:42 +0100
commit83c34f5099bf38917b8518404f4ff32d5878fa8d (patch)
treebedf50c7b3d5909251aad8f2d42e8a0f14e2e085 /rust/helpers
parentc65b5c5187439ae940462c83d430204631045d06 (diff)
thermal: k3_j72xx_bandgap: Use kcalloc() instead of kzalloc()
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-3-lukasz.luba@arm.com [ rjw: Changelog edits ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions