aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c
diff options
context:
space:
mode:
authorJackie Liu <liuyun01@kylinos.cn>2019-09-18 17:25:52 +0800
committerJens Axboe <axboe@kernel.dk>2019-09-18 11:20:04 -0600
commita1041c27b64ce744632147e19701c95fed14fab1 (patch)
treeec938706fa10ecd8efec74e15776257e0821b712 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c
parent6cc47d1d2a9b631f62405f56df651975c7587a97 (diff)
io_uring: fix potential crash issue due to io_get_req failure
Sometimes io_get_req will return a NUL, then we need to do the correct error handling, otherwise it will cause the kernel null pointer exception. Fixes: 4fe2c963154c ("io_uring: add support for link with drain") Signed-off-by: Jackie Liu <liuyun01@kylinos.cn> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c')
0 files changed, 0 insertions, 0 deletions