diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-10-09 18:26:25 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-12-04 19:52:52 +0100 |
commit | cb7e125e03274cffa97d74433c876765efffaf6a (patch) | |
tree | 5e6be1ed0c2ec7f97e5203636dc5eb6604d8dd56 /fs/dcache.c | |
parent | mn10300: READ_ONCE() now implies smp_read_barrier_depends() (diff) | |
download | linux-cb7e125e03274cffa97d74433c876765efffaf6a.tar.xz linux-cb7e125e03274cffa97d74433c876765efffaf6a.zip |
drivers/net/ethernet/qlogic/qed: Fix __qed_spq_block() ordering
The __qed_spq_block() function expects an smp_read_barrier_depends()
to order a prior READ_ONCE() against a later load that does not depend
on the prior READ_ONCE(), an expectation that can fail to be met.
This commit therefore replaces the READ_ONCE() with smp_load_acquire()
and removes the smp_read_barrier_depends().
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Ariel Elior <Ariel.Elior@cavium.com>
Cc: <everest-linux-l2@cavium.com>
Cc: <netdev@vger.kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions