commit | ed4eac20dcffdad47709422e0cb925981b056668 | [log] [tgz] |
---|---|---|
author | Denis Bolotin <denis.bolotin@cavium.com> | Mon Nov 12 12:50:23 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Nov 13 08:51:16 2018 -0800 |
tree | ce81e5d3461aa2787da43b95ff35b91b8b63f74c | |
parent | 291d57f67d2449737d1e370ab5b9a583818eaa0c [diff] |
qed: Fix reading wrong value in loop condition The value of "sb_index" is written by the hardware. Reading its value and writing it to "index" must finish before checking the loop condition. Signed-off-by: Denis Bolotin <denis.bolotin@cavium.com> Signed-off-by: Michal Kalderon <michal.kalderon@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>