commit | 58c8c0c096611f6a1d43ed24e320494bf894a66e | [log] [tgz] |
---|---|---|
author | Brian King <brking@linux.vnet.ibm.com> | Wed Apr 19 13:44:47 2017 -0400 |
committer | David S. Miller <davem@davemloft.net> | Fri Apr 21 13:33:52 2017 -0400 |
tree | f7d746339f099da59ef3a5e2aaaceb8174a6e93a | |
parent | 59af56c25bc34d4e98820c694d48fd5145fb6e4f [diff] |
ibmvnic: Fixup atomic API usage Replace a couple of modifications of an atomic followed by a read of the atomic, which is no longer atomic, to use atomic_XX_return variants to avoid race conditions. Signed-off-by: Brian King <brking@linux.vnet.ibm.com> Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>