ice: fix typo in assignment
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Tue, 5 Mar 2024 00:37:07 +0000 (16:37 -0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 5 Mar 2024 17:49:54 +0000 (09:49 -0800)
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>
drivers/net/ethernet/intel/ice/ice_lib.c

index 097bf8fd6bf0edc5599edbf3fe9f3cf2e05e212a..fc23dbe302b46fa35e97ea425add87711abf66ee 100644 (file)
@@ -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),