aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/wi
diff options
context:
space:
mode:
authorGuinan Sun <guinanx.sun@intel.com>2020-07-09 08:00:35 +0000
committerKevin Bowling <kbowling@FreeBSD.org>2021-09-14 00:46:04 +0000
commit4cfdd23e189f369079462a2fd216b4dfc3b51993 (patch)
tree9b4c20055386f238c7ae82f7ab462bcba2a06111 /sys/dev/wi
parent7e7e6f8a5c940692d81da157b74d298c8566a0fb (diff)
downloadsrc-4cfdd23e189f369079462a2fd216b4dfc3b51993.tar.gz
src-4cfdd23e189f369079462a2fd216b4dfc3b51993.zip
ixgbe: move increments after evaluations
The retry variable was being incremented before it was evaluated by the subsequent conditional against the maximum retries to figure out which message to print. So we'll move the increment op to the end. Signed-off-by: Jeb Cramer <jeb.j.cramer@intel.com> Signed-off-by: Guinan Sun <guinanx.sun@intel.com> Reviewed-by: Wei Zhao <wei.zhao1@intel.com> Approved by: imp Obtained from: DPDK (390445ec30b4c52a3d2887c3d2a202d9cf37ea8e) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D31621 (cherry picked from commit dc11ba4eb3fe5cce615f361de83e85e07005ca24)
Diffstat (limited to 'sys/dev/wi')
0 files changed, 0 insertions, 0 deletions