aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2021-04-26 10:47:35 +0100
committerJens Axboe <axboe@kernel.dk>2021-04-26 06:51:09 -0600
commit615cee49b3ca55f54d527f7a6a7d0fd4fd6fef6b (patch)
tree89a868d19ad524332fe0afdb781963a337cc54d7 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parenta2b4198cab7e3edcb78fce77e0e8aca130435403 (diff)
io_uring: Fix uninitialized variable up.resv
The variable up.resv is not initialized and is being checking for a non-zero value in the call to _io_register_rsrc_update. Fix this by explicitly setting the variable to 0. Addresses-Coverity: ("Uninitialized scalar variable)" Fixes: c3bdad027183 ("io_uring: add generic rsrc update with tags") Signed-off-by: Colin Ian King <colin.king@canonical.com> Link: https://lore.kernel.org/r/20210426094735.8320-1-colin.king@canonical.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions