|
@@ -2003,10 +2003,10 @@ static int et131x_rx_dma_memory_alloc(struct et131x_adapter *adapter)
|
|
|
struct fbr_lookup *fbr;
|
|
|
|
|
|
/* Alloc memory for the lookup table */
|
|
|
- rx_ring->fbr[0] = kmalloc(sizeof(*fbr), GFP_KERNEL);
|
|
|
+ rx_ring->fbr[0] = kzalloc(sizeof(*fbr), GFP_KERNEL);
|
|
|
if (rx_ring->fbr[0] == NULL)
|
|
|
return -ENOMEM;
|
|
|
- rx_ring->fbr[1] = kmalloc(sizeof(*fbr), GFP_KERNEL);
|
|
|
+ rx_ring->fbr[1] = kzalloc(sizeof(*fbr), GFP_KERNEL);
|
|
|
if (rx_ring->fbr[1] == NULL)
|
|
|
return -ENOMEM;
|
|
|
|