]> Git Repo - linux.git/commit - drivers/net/ethernet/qlogic/qed/qed_int.c
qed: Fix reading wrong value in loop condition
authorDenis Bolotin <[email protected]>
Mon, 12 Nov 2018 10:50:23 +0000 (12:50 +0200)
committerDavid S. Miller <[email protected]>
Tue, 13 Nov 2018 16:51:16 +0000 (08:51 -0800)
commited4eac20dcffdad47709422e0cb925981b056668
treece81e5d3461aa2787da43b95ff35b91b8b63f74c
parent291d57f67d2449737d1e370ab5b9a583818eaa0c
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 <[email protected]>
Signed-off-by: Michal Kalderon <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/qlogic/qed/qed_int.c
This page took 0.054234 seconds and 4 git commands to generate.