aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/ice/ice_lib.c
diff options
context:
space:
mode:
authorBruce Allan <bruce.w.allan@intel.com>2021-03-02 10:12:10 -0800
committerTony Nguyen <anthony.l.nguyen@intel.com>2021-03-31 14:21:28 -0700
commit36ac7911fae7575b8cebf9326a23901cba28c015 (patch)
tree976530b537f672b800167163949c12433d01af6a /drivers/net/ethernet/intel/ice/ice_lib.c
parent805f980bfe0e7d07cd4cd5d1183722f0355c0f4a (diff)
downloadlinux-36ac7911fae7575b8cebf9326a23901cba28c015.tar.gz
linux-36ac7911fae7575b8cebf9326a23901cba28c015.tar.bz2
linux-36ac7911fae7575b8cebf9326a23901cba28c015.zip
ice: correct memory allocation call
Use *malloc() instead of *calloc() when allocating only a single object as opposed to an array of objects. Signed-off-by: Bruce Allan <bruce.w.allan@intel.com> Tested-by: Tony Brelinski <tonyx.brelinski@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
0 files changed, 0 insertions, 0 deletions