diff options
author | Jesse Brandeburg <jesse.brandeburg@intel.com> | 2024-03-04 16:37:07 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-04-10 16:36:01 +0200 |
commit | ac522af8db5c024eac693584778f031d1f2bdcc9 (patch) | |
tree | 4f5b026875a5fdb1a0f1e276daf324187b00e8da | |
parent | 9d60e8ec996ff84e7f5c08c51e58d9a465d7f1bd (diff) | |
download | linux-stable-ac522af8db5c024eac693584778f031d1f2bdcc9.tar.gz linux-stable-ac522af8db5c024eac693584778f031d1f2bdcc9.tar.bz2 linux-stable-ac522af8db5c024eac693584778f031d1f2bdcc9.zip |
ice: fix typo in assignment
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>
-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 0b7132a42e35..2004120a58ac 100644 --- a/drivers/net/ethernet/intel/ice/ice_lib.c +++ b/drivers/net/ethernet/intel/ice/ice_lib.c @@ -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), |