Skip to content
Commit f3b6a41e authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: remove duplicated member check for io_msg_ring_prep()



Julia and the kernel test robot report that the prep handling for this
command inadvertently checks one field twice:

fs/io_uring.c:4338:42-56: duplicated argument to && or ||

Get rid of it.

Reported-by: default avatarkernel test robot <lkp@intel.com>
Reported-by: default avatarJulia Lawall <julia.lawall@lip6.fr>
Fixes: 4f57f06c ("io_uring: add support for IORING_OP_MSG_RING command")
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent bcbb7bf6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment