qlxgb(4): Use defined evaluation order
Reported by: Coverity CID: 1193717
This commit is contained in:
parent
f824ea0c26
commit
bf66c12e30
@ -226,7 +226,7 @@ qla_watchdog(void *arg)
|
||||
taskqueue_enqueue(ha->tx_tq, &ha->tx_task);
|
||||
}
|
||||
}
|
||||
ha->watchdog_ticks = ha->watchdog_ticks++ % 1000;
|
||||
ha->watchdog_ticks = (ha->watchdog_ticks + 1) % 1000;
|
||||
callout_reset(&ha->tx_callout, QLA_WATCHDOG_CALLOUT_TICKS,
|
||||
qla_watchdog, ha);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user