Small nit I just noticed, a pre-decrement should be post.
This commit is contained in:
parent
f0b1d25ff6
commit
7dd492e17c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user