ethernet :mellanox :mlx4: Replace pci_pool_alloc by pci_pool_zalloc
authorSouptick Joarder <jrdr.linux@gmail.com>
Tue, 29 Nov 2016 19:46:12 +0000 (01:16 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Nov 2016 19:56:36 +0000 (14:56 -0500)
commit77d1337bf6350f5f47aad6a917bee8a2a06d561e
tree84493aaeafa3e36a27676ec0ad93b4957e81f073
parentd109e61bfe7a468fd8df4a7ceb65635e7aa909a0
ethernet :mellanox :mlx4: Replace pci_pool_alloc by pci_pool_zalloc

In mlx4_alloc_cmd_mailbox(), pci_pool_alloc() followed by memset will be
replaced by pci_pool_zalloc()

Signed-off-by: Souptick joarder <jrdr.linux@gmail.com>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/cmd.c