diff options
| author | Michael J. Ruhl <michael.j.ruhl@intel.com> | 2017-03-21 03:24:45 +0300 |
|---|---|---|
| committer | Doug Ledford <dledford@redhat.com> | 2017-04-05 21:45:09 +0300 |
| commit | 0519c520dc38e9950f4032d0f41f2b72b2c3c940 (patch) | |
| tree | 56b111fa3e75f6c09cf0b9988a55becd8ec8aa16 /include/linux/debugobjects.h | |
| parent | ec8a142327f85ae9aa5ad784520e669a34839941 (diff) | |
| download | linux-0519c520dc38e9950f4032d0f41f2b72b2c3c940.tar.xz | |
IB/hfi1: Race hazard avoidance in user SDMA driver
Set the errcode before the state and add the smb_wmb() to avoid a
potential race condition with the user.
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Michael Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
