]> www.infradead.org Git - users/jedix/linux-maple.git/commit
io_uring/uring_cmd: specify io_uring_cmd_import_fixed() pointer type
authorCaleb Sander Mateos <csander@purestorage.com>
Fri, 28 Feb 2025 22:15:13 +0000 (15:15 -0700)
committerJens Axboe <axboe@kernel.dk>
Sat, 1 Mar 2025 02:14:43 +0000 (19:14 -0700)
commit0c542a69cbcd1fefad32c59cea7a80413fe60922
treed5f287f516875953849eced9eaee8ecfda122a47
parent2fced37638a897be4e0ac724d93a23a4e38633a6
io_uring/uring_cmd: specify io_uring_cmd_import_fixed() pointer type

io_uring_cmd_import_fixed() takes a struct io_uring_cmd *, but the type
of the ioucmd parameter is void *. Make the pointer type explicit so the
compiler can type check it.

Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
Link: https://lore.kernel.org/r/20250228221514.604350-1-csander@purestorage.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/io_uring/cmd.h
io_uring/uring_cmd.c