]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4: zero the HMA memory
authorGanesh Goudar <ganeshgr@chelsio.com>
Wed, 9 May 2018 13:10:09 +0000 (18:40 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 May 2018 20:02:06 +0000 (16:02 -0400)
commitef026fb0e1aaa0c5f1cd7ed5d7b2ce233280dff9
treecc24b9383fe97f7ea9b61385601128a8971c19e1
parentc6be70c9ab20404da5a6e461e7a1b2233a9a0939
cxgb4: zero the HMA memory

firmware expects HMA memory to be zeroed, use __GFP_ZERO
for HMA memory allocation.

Fixes: a5be10d7407d ("cxgb4: Add HMA support")
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c