Commit 6c5b6ca7 authored by Jesse Brandeburg's avatar Jesse Brandeburg Committed by Tony Nguyen

ice: fix typo in assignment

Fix an obviously incorrect assignment, created with a typo or cut-n-paste
error.

Fixes: 5995ef88 ("ice: realloc VSI stats arrays")
Signed-off-by: default avatarJesse Brandeburg <jesse.brandeburg@intel.com>
Reviewed-by: default avatarSimon Horman <horms@kernel.org>
Reviewed-by: default avatarPaul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
parent 9224fc86
...@@ -3192,7 +3192,7 @@ ice_vsi_realloc_stat_arrays(struct ice_vsi *vsi) ...@@ -3192,7 +3192,7 @@ ice_vsi_realloc_stat_arrays(struct ice_vsi *vsi)
} }
} }
tx_ring_stats = vsi_stat->rx_ring_stats; tx_ring_stats = vsi_stat->tx_ring_stats;
vsi_stat->tx_ring_stats = vsi_stat->tx_ring_stats =
krealloc_array(vsi_stat->tx_ring_stats, req_txq, krealloc_array(vsi_stat->tx_ring_stats, req_txq,
sizeof(*vsi_stat->tx_ring_stats), sizeof(*vsi_stat->tx_ring_stats),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment