lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <173938420478.36938.14753182485522583191.b4-ty@kernel.dk>
Date: Wed, 12 Feb 2025 11:16:44 -0700
From: Jens Axboe <axboe@...nel.dk>
To: Pavel Begunkov <asml.silence@...il.com>, 
 Caleb Sander Mateos <csander@...estorage.com>
Cc: io-uring@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] io_uring: pass ctx instead of req to
 io_init_req_drain()


On Wed, 12 Feb 2025 09:48:05 -0700, Caleb Sander Mateos wrote:
> io_init_req_drain() takes a struct io_kiocb *req argument but only uses
> it to get struct io_ring_ctx *ctx. The caller already knows the ctx, so
> pass it instead.
> 
> Drop "req" from the function name since it operates on the ctx rather
> than a specific req.
> 
> [...]

Applied, thanks!

[1/1] io_uring: pass ctx instead of req to io_init_req_drain()
      commit: 5fa0beffc75910a694a90ed0425bb13674b10256

Best regards,
-- 
Jens Axboe




Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ