io_uring: fix user_data field name in comment
PATCH 1/1 io_uring: fix user_data field name in comment
io_uring_cqe's user_data field refers to sqe->data, but io_uring_sqe does not have a data field. Fix the comment to say sqe->user_data.
Signed-off-by Caleb Sander Mateos <[email protected]>
--- include/uapi/linux/io_uring.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/uapi/linux/io_uring.h +1 -1
@@ -419,11 +419,11 @@ enum io_uring_msg_ring_flags {/* * IO completion data structure (Completion Queue Entry) */ struct io_uring_cqe { -__u64 user_data;/* sqe->data submission passed back */ +__u64 user_data;/* sqe->user_data value passed back */ __s32 res;/* result code for this event */ __u32 flags;/* * If the ring is initialized with IORING_SETUP_CQE32, then this field
Signature · 1 line
2.45.2
Quoted 4 lines · Caleb Sander Mateos
io_uring_cqe's
user_datafield refers tosqe->data, butio_uring_sqedoes not have a data field. Fix the comment to saysqe->user_data.
Applied, thanks!
[1/1] io_uring: fix user_data field name in comment
commit: 1fc2ac428ef7d2ab9e8e19efe7ec3e58aea51bf3
Best regards,
Signature · 1 line
Jens Axboe