diff options
Diffstat (limited to 'drivers/net/benet')
-rw-r--r-- | drivers/net/benet/be_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/benet/be_main.c b/drivers/net/benet/be_main.c index 90c5661b336f..6f2633887dc3 100644 --- a/drivers/net/benet/be_main.c +++ b/drivers/net/benet/be_main.c | |||
@@ -2168,7 +2168,7 @@ static int be_stats_init(struct be_adapter *adapter) | |||
2168 | cmd->va = pci_alloc_consistent(adapter->pdev, cmd->size, &cmd->dma); | 2168 | cmd->va = pci_alloc_consistent(adapter->pdev, cmd->size, &cmd->dma); |
2169 | if (cmd->va == NULL) | 2169 | if (cmd->va == NULL) |
2170 | return -1; | 2170 | return -1; |
2171 | memset(cmd->va, cmd->size, 0); | 2171 | memset(cmd->va, 0, cmd->size); |
2172 | return 0; | 2172 | return 0; |
2173 | } | 2173 | } |
2174 | 2174 | ||