aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2022-07-18 14:14:09 +0300
committerJens Axboe <[email protected]>2022-07-18 13:11:11 -0600
commitfe3333f6953848f1c24e91a1cf70eed026dc3a86 (patch)
tree6c4e5b0991e2d5f192a538ea2d3a4b9a194455be /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parentd276a22314c2bad9136c5e0b09eb3c8a560e1161 (diff)
ublk_drv: fix an IS_ERR() vs NULL check
The blk_mq_alloc_disk_for_queue() doesn't return error pointers, it returns NULL on error. Fixes: cebbe577cb17 ("ublk_drv: fix request queue leak") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Ming Lei <[email protected]> Link: https://lore.kernel.org/r/YtVAgedTsQVK1oTM@kili Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions