[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <172653976849.74656.8223840794211444474.b4-ty@kernel.dk>
Date: Mon, 16 Sep 2024 20:22:48 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Dan Carpenter <dan.carpenter@...aro.org>
Cc: Pavel Begunkov <asml.silence@...il.com>, io-uring@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] io_uring: clean up a type in
io_uring_register_get_file()
On Mon, 16 Sep 2024 17:07:10 +0300, Dan Carpenter wrote:
> Originally "fd" was unsigned int but it was changed to int when we pulled
> this code into a separate function in commit 0b6d253e084a
> ("io_uring/register: provide helper to get io_ring_ctx from 'fd'"). This
> doesn't really cause a runtime problem because the call to
> array_index_nospec() will clamp negative fds to 0 and nothing else uses
> the negative values.
>
> [...]
Applied, thanks!
[1/1] io_uring: clean up a type in io_uring_register_get_file()
(no commit info)
Best regards,
--
Jens Axboe
Powered by blists - more mailing lists