aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorDongli Zhang <[email protected]>2020-03-03 22:14:23 +0000
committerBoris Ostrovsky <[email protected]>2020-03-05 15:42:01 +0000
commit8130b9d5b5abf26f9927b487c15319a187775f34 (patch)
tree647cbd1ff16e7cc558524d766b95f7e913b16494 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentxenbus: req->body should be updated before req->state (diff)
downloadkernel-8130b9d5b5abf26f9927b487c15319a187775f34.tar.gz
kernel-8130b9d5b5abf26f9927b487c15319a187775f34.zip
xenbus: req->err should be updated before req->state
This patch adds the barrier to guarantee that req->err is always updated before req->state. Otherwise, read_reply() would not return ERR_PTR(req->err) but req->body, when process_writes()->xb_write() is failed. Signed-off-by: Dongli Zhang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Julien Grall <[email protected]> Signed-off-by: Boris Ostrovsky <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions