From 7dd492e17c40e59dd386cb049c2d57f471edf1be Mon Sep 17 00:00:00 2001 From: Jack F Vogel Date: Thu, 27 Nov 2008 02:19:44 +0000 Subject: [PATCH] Small nit I just noticed, a pre-decrement should be post. --- sys/dev/ixgbe/ixgbe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/ixgbe/ixgbe.c b/sys/dev/ixgbe/ixgbe.c index 81100fae16bf..3b71cb6ce1b0 100644 --- a/sys/dev/ixgbe/ixgbe.c +++ b/sys/dev/ixgbe/ixgbe.c @@ -3244,7 +3244,7 @@ ixgbe_setup_receive_structures(struct adapter *adapter) * the rings that completed, the failing case will have * cleaned up for itself. 'j' failed, so its the terminus. */ - for (int i = 0; i < j; ++i) { + for (int i = 0; i < j; i++) { rxr = &adapter->rx_rings[i]; for (int n = 0; n < adapter->num_rx_desc; n++) { struct ixgbe_rx_buf *rxbuf;