aboutsummaryrefslogtreecommitdiff
path: root/include/linux/overflow.h
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2021-04-26 10:47:35 +0100
committerJens Axboe <[email protected]>2021-04-26 06:51:09 -0600
commit615cee49b3ca55f54d527f7a6a7d0fd4fd6fef6b (patch)
tree89a868d19ad524332fe0afdb781963a337cc54d7 /include/linux/overflow.h
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions