]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ice: fix typo in assignment
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Tue, 5 Mar 2024 00:37:07 +0000 (16:37 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Apr 2024 14:36:01 +0000 (16:36 +0200)
commit 6c5b6ca7642f2992502a22dbd8b80927de174b67 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/intel/ice/ice_lib.c

index 0b7132a42e359cbcd7807fe4ece1067e9f2048ac..2004120a58acd85db039301655eadb290f98ae35 100644 (file)
@@ -3111,7 +3111,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),