]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
6.6-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Apr 2024 06:56:11 +0000 (08:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Apr 2024 06:56:11 +0000 (08:56 +0200)
added patches:
ice-fix-typo-in-assignment.patch

queue-6.6/ice-fix-typo-in-assignment.patch [new file with mode: 0644]
queue-6.6/series

diff --git a/queue-6.6/ice-fix-typo-in-assignment.patch b/queue-6.6/ice-fix-typo-in-assignment.patch
new file mode 100644 (file)
index 0000000..d035fda
--- /dev/null
@@ -0,0 +1,33 @@
+From 6c5b6ca7642f2992502a22dbd8b80927de174b67 Mon Sep 17 00:00:00 2001
+From: Jesse Brandeburg <jesse.brandeburg@intel.com>
+Date: Mon, 4 Mar 2024 16:37:07 -0800
+Subject: ice: fix typo in assignment
+
+From: Jesse Brandeburg <jesse.brandeburg@intel.com>
+
+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 |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- 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_v
+               }
+       }
+-      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),
index a2f8e7f028b90301b443cd7e918c6c031011261c..4afd1447bce9488caab4a02d60d0c39ddbf50552 100644 (file)
@@ -198,3 +198,4 @@ asoc-sof-amd-fix-for-false-dsp-interrupts.patch
 sunrpc-fix-a-slow-server-side-memory-leak-with-rpc-o.patch
 riscv-disable-preemption-when-using-patch_map.patch
 nfsd-hold-a-lighter-weight-client-reference-over-cb_.patch
+ice-fix-typo-in-assignment.patch