aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2016-10-30 04:28:27 +0000
committerJens Axboe <[email protected]>2016-11-06 21:14:59 +0000
commit772918524dfb8c8869120728c1b1109a2d49493c (patch)
tree387018dd45b281964a3f1c64766b3efb98a784fc /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentLinux 4.9-rc4 (diff)
downloadkernel-772918524dfb8c8869120728c1b1109a2d49493c.tar.gz
kernel-772918524dfb8c8869120728c1b1109a2d49493c.zip
nbd: Fix error handling
'blk_mq_alloc_request()' returns an error pointer in case of error, not NULL. So test it with IS_ERR. Fixes: fd8383fd88a2 ("nbd: convert to blkmq") Signed-off-by: Christophe JAILLET <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions