qlcnic: Fix memory allocation
authorManish Chopra <manish.chopra@qlogic.com>
Mon, 16 Dec 2013 20:37:00 +0000 (15:37 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Dec 2013 21:24:50 +0000 (16:24 -0500)
commit3fc38e267bfbea5e33e2222d6babc3b06c2bb642
treeafcd62ad0a4e62329e04589d5691fabbb41a722c
parentb17a44d8b86f48e34011b884a934231ae2928d66
qlcnic: Fix memory allocation

o Use vzalloc() instead of kzalloc() for allocation of
  bootloader size memory. kzalloc() may fail to allocate
  the size of bootloader

Signed-off-by: Manish Chopra <manish.chopra@qlogic.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c