]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qlcnic: Don't use kzalloc unncecessarily for allocating large chunk of memory
authorShahed Shaikh <shahed.shaikh@qlogic.com>
Fri, 7 Aug 2015 11:17:06 +0000 (07:17 -0400)
committerEthan Zhao <ethan.zhao@oracle.com>
Tue, 20 Oct 2015 02:44:24 +0000 (11:44 +0900)
commit42bf9b7efcb26d3e7260a00b53f0badde8a76e42
treefbac9681e6dbcfb08f5c615d7f2cd7decfca5ab3
parentd92d8695daba565ebde88519f37ec292b7769a13
qlcnic: Don't use kzalloc unncecessarily for allocating large chunk of memory

Orabug: 22066190

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>
Signed-off-by: Ethan Zhao <ethan.zhao@oracle.com>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c