summaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorShahed Shaikh <shahed.shaikh@qlogic.com>2015-08-07 14:17:06 +0300
committerDavid S. Miller <davem@davemloft.net>2015-08-10 23:34:28 +0300
commit0e90ad9bfdcc8835945ccb49f39c21ff3cb0b785 (patch)
treea9a2e73ef13b8ca4be486a279c57dc3f549183c2 /net/switchdev/switchdev.c
parentda286a6fd1e6913779c0a479f428ec3763dfc16c (diff)
downloadlinux-0e90ad9bfdcc8835945ccb49f39c21ff3cb0b785.tar.xz
qlcnic: Don't use kzalloc unncecessarily for allocating large chunk of memory
Driver allocates a large chunk of temporary buffer using kzalloc to copy FW image. As there is no real need of this memory to be physically contiguous, use vzalloc instead. Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions