aboutsummaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorJoe Perches <[email protected]>2014-01-08 22:42:25 -0800
committerDavid S. Miller <[email protected]>2014-01-13 11:17:31 -0800
commitf3c0773ff2875af6497c20cf63e42c186e19eef0 (patch)
tree8314a451384bb41d50056e7c30b63444e29725dd /scripts/stackusage
parent32e25cb7a68a3543cb9b2a96616ae24c7e23989c (diff)
qlcnic: Convert vmalloc/memset to kcalloc
vmalloc is a limited resource. Don't use it unnecessarily. It seems this allocation should work with kcalloc. Remove unnecessary memset(,0,) of buf as it's completely overwritten as the previously only unset field in struct qlcnic_pci_func_cfg is now set to 0. Use kfree instead of vfree. Use ETH_ALEN instead of 6. Signed-off-by: Joe Perches <[email protected]> Acked-by: Jitendra Kalsaria <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions