]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
io_uring: don't use int for ABI
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 2 Jul 2025 20:31:54 +0000 (21:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Aug 2025 14:28:09 +0000 (16:28 +0200)
commit17a66aef7ddca6f9c76407fd74938d22d88d5ce1
tree48605c9d3e1d566d39c8155502481f8d65e4869f
parentbb9c90ab9c5a1a933a0dfd302a3fde73642b2b06
io_uring: don't use int for ABI

commit cf73d9970ea4f8cace5d8f02d2565a2723003112 upstream.

__kernel_rwf_t is defined as int, the actual size of which is
implementation defined. It won't go well if some compiler / archs
ever defines it as i64, so replace it with __u32, hoping that
there is no one using i16 for it.

Cc: stable@vger.kernel.org
Fixes: 2b188cc1bb857 ("Add io_uring IO interface")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/47c666c4ee1df2018863af3a2028af18feef11ed.1751412511.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/uapi/linux/io_uring.h