diff options
author | Denis Bolotin <denis.bolotin@cavium.com> | 2018-11-12 12:50:23 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-13 08:51:16 -0800 |
commit | ed4eac20dcffdad47709422e0cb925981b056668 (patch) | |
tree | ce81e5d3461aa2787da43b95ff35b91b8b63f74c /drivers/firmware | |
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>
Diffstat (limited to 'drivers/firmware')
0 files changed, 0 insertions, 0 deletions