Small nit I just noticed, a pre-decrement should be post.

This commit is contained in:
Jack F Vogel 2008-11-27 02:19:44 +00:00
parent f0b1d25ff6
commit 7dd492e17c

View File

@ -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;