treewide: kzalloc() -> kcalloc()
[linux-2.6-microblaze.git] / drivers / net / ethernet / intel / ixgbe / ixgbe_main.c
index 4929f72..0b1ba3a 100644 (file)
@@ -6034,8 +6034,8 @@ static int ixgbe_sw_init(struct ixgbe_adapter *adapter,
        for (i = 1; i < IXGBE_MAX_LINK_HANDLE; i++)
                adapter->jump_tables[i] = NULL;
 
-       adapter->mac_table = kzalloc(sizeof(struct ixgbe_mac_addr) *
-                                    hw->mac.num_rar_entries,
+       adapter->mac_table = kcalloc(hw->mac.num_rar_entries,
+                                    sizeof(struct ixgbe_mac_addr),
                                     GFP_ATOMIC);
        if (!adapter->mac_table)
                return -ENOMEM;