From: Jens Axboe <[email protected]>
To: Pavel Begunkov <[email protected]>,
Kanchan Joshi <[email protected]>,
Bernd Schubert <[email protected]>
Cc: [email protected], [email protected],
Li Zetao <[email protected]>
Subject: Re: [PATCH v2] io_uring: Change res2 parameter type in io_uring_cmd_done
Date: Tue, 03 Dec 2024 06:42:07 -0700 [thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
On Tue, 03 Dec 2024 11:31:05 +0100, Bernd Schubert wrote:
> Change the type of the res2 parameter in io_uring_cmd_done from ssize_t
> to u64. This aligns the parameter type with io_req_set_cqe32_extra,
> which expects u64 arguments.
> The change eliminates potential issues on 32-bit architectures where
> ssize_t might be 32-bit.
>
> Only user of passing res2 is drivers/nvme/host/ioctl.c and it actually
> passes u64.
>
> [...]
Applied, thanks!
[1/1] io_uring: Change res2 parameter type in io_uring_cmd_done
(no commit info)
Best regards,
--
Jens Axboe
prev parent reply other threads:[~2024-12-03 13:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-03 10:31 [PATCH v2] io_uring: Change res2 parameter type in io_uring_cmd_done Bernd Schubert
2024-12-03 12:05 ` Pavel Begunkov
2024-12-03 13:42 ` Jens Axboe [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=173323332799.59116.14437806909916721347.b4-ty@kernel.dk \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox