diff options
author | 2024-03-04 16:37:07 -0800 | |
---|---|---|
committer | 2024-03-05 09:49:54 -0800 | |
commit | 6c5b6ca7642f2992502a22dbd8b80927de174b67 (patch) | |
tree | 18123abcbad6fd4be9d212a5f624cd3715f265e0 /drivers/net/ethernet/intel/ice/ice_lib.c | |
parent | ice: fix uninitialized dplls mutex usage (diff) | |
download | linux-6c5b6ca7642f2992502a22dbd8b80927de174b67.tar.gz linux-6c5b6ca7642f2992502a22dbd8b80927de174b67.tar.bz2 linux-6c5b6ca7642f2992502a22dbd8b80927de174b67.zip |
ice: fix typo in assignment
Fix an obviously incorrect assignment, created with a typo or cut-n-paste
error.
Fixes: 5995ef88e3a8 ("ice: realloc VSI stats arrays")
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
-rw-r--r-- | drivers/net/ethernet/intel/ice/ice_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_lib.c b/drivers/net/ethernet/intel/ice/ice_lib.c index 097bf8fd6bf0..fc23dbe302b4 100644 --- a/drivers/net/ethernet/intel/ice/ice_lib.c +++ b/drivers/net/ethernet/intel/ice/ice_lib.c @@ -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 = krealloc_array(vsi_stat->tx_ring_stats, req_txq, sizeof(*vsi_stat->tx_ring_stats), |