aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_lib.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2022-06-08 12:03:58 +0000
committerJakub Kicinski <[email protected]>2022-06-10 15:36:08 +0000
commit9a7a1be6b618fb1c73f497c7f465dd355dca0b13 (patch)
treedb91fa679917d3e036848a3668450a68da020ee9 /drivers/net/ethernet/intel/ice/ice_lib.c
parentptp_ocp: do not call pci_set_drvdata(pdev, NULL) (diff)
downloadkernel-9a7a1be6b618fb1c73f497c7f465dd355dca0b13.tar.gz
kernel-9a7a1be6b618fb1c73f497c7f465dd355dca0b13.zip
ptp_ocp: replace kzalloc(x*y) by kcalloc(y, x)
While here it may be no difference, the kcalloc() has some checks against overflow and it's logically correct to call it for an array. Signed-off-by: Andy Shevchenko <[email protected]> Acked-by: Vadim Fedorenko <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
0 files changed, 0 insertions, 0 deletions