aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc
diff options
context:
space:
mode:
authorLukasz Luba <[email protected]>2025-02-24 17:33:03 +0000
committerRafael J. Wysocki <[email protected]>2025-02-26 19:55:42 +0000
commitc65b5c5187439ae940462c83d430204631045d06 (patch)
treebe2a627ce0a01ef7b5cd7775ffa880ae58b477c1 /drivers/net/ethernet/intel/igc
parentthermal/debugfs: replace kzalloc() with kcalloc() in thermal_debug_tz_add() (diff)
downloadkernel-c65b5c5187439ae940462c83d430204631045d06.tar.gz
kernel-c65b5c5187439ae940462c83d430204631045d06.zip
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 <[email protected]> Link: https://patch.msgid.link/[email protected] [ rjw: Subject and changelog edits ] Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc')
0 files changed, 0 insertions, 0 deletions