aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorLukasz Luba <[email protected]>2025-02-24 17:33:06 +0000
committerRafael J. Wysocki <[email protected]>2025-02-26 19:55:42 +0000
commit063ab16ff5cfa74aba25ec7efa08d2d016a429da (patch)
treec76f83350d47a7ee9600118924b34af6998440a6 /drivers/net/ethernet/intel/igc/igc_main.c
parentthermal: int340x: Use kcalloc() instead of kzalloc() with multiplication (diff)
downloadkernel-063ab16ff5cfa74aba25ec7efa08d2d016a429da.tar.gz
kernel-063ab16ff5cfa74aba25ec7efa08d2d016a429da.zip
thermal: hisi: 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: Changelog edits ] Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions