]> www.infradead.org Git - users/jedix/linux-maple.git/commit
io_uring/rw: use NULL for rw->free_iovec assigment
authorJens Axboe <axboe@kernel.dk>
Tue, 17 Dec 2024 19:43:49 +0000 (12:43 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 27 Dec 2024 17:09:14 +0000 (10:09 -0700)
commit21adbcaa8007f5e584d26bebb46ec46bfbbbd330
tree2b84ceefd21ca0a3e5e92c8fe8c89d985164533b
parent1143be17d7acb02a7c4dba6169a33534983f4960
io_uring/rw: use NULL for rw->free_iovec assigment

It's a pointer, don't use 0 for that. sparse throws a warning for that,
as the kernel test robot noticed.

Fixes: d7f11616edf5 ("io_uring/rw: Allocate async data through helper")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202412180253.YML3qN4d-lkp@intel.com/
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/rw.c