]> 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)
commit12e35b907182f6880ca879cbe4de151066ef89af
treecc24b9383fe97f7ea9b61385601128a8971c19e1
parent0e4759430c2ccc71db2892d7f3869139d8572204
cxgb4: zero the HMA memory

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

Fixes: b38db2ac6e86 ("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