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

This commit is contained in:
jfv 2008-11-27 02:19:44 +00:00
parent b9deff6e4e
commit 1a21be4a1f

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;