Small nit I just noticed, a pre-decrement should be post.
This commit is contained in:
parent
b9deff6e4e
commit
1a21be4a1f
@ -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