public inbox for io-uring@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: io-uring@vger.kernel.org, csander@purestorage.com,
	 Govindarajulu Varadarajan <govind.varadar@gmail.com>
Cc: ming.lei@redhat.com, kbusch@kernel.org, hch@lst.de,
	sagi@grimberg.me,  miklos@szeredi.hu
Subject: Re: [LINUX PATCH v4] io_uring: Add size check for sqe->cmd
Date: Thu, 19 Feb 2026 07:32:15 -0700	[thread overview]
Message-ID: <177151153556.554113.2575771011828245874.b4-ty@kernel.dk> (raw)
In-Reply-To: <20260219045930.935755-1-govind.varadar@gmail.com>


On Wed, 18 Feb 2026 20:59:30 -0800, Govindarajulu Varadarajan wrote:
> For SQE128, sqe->cmd provides 80 bytes for uring_cmd. Add macro to
> check if size of user struct does not exceed 80 bytes at compile time.
> User doesn't have to track this manually during development.
> 
> Replace io_uring_sqe_cmd() inline func with macro and add
> io_uring_sqe128_cmd() which checks struct
> size for 16 bytes cmd and 80 bytes cmd respectively.
> 
> [...]

Applied, thanks!

[1/1] io_uring: Add size check for sqe->cmd
      commit: ea129e55c9e06a51a93c3f5ef3e32a6cfa3f8ec7

Best regards,
-- 
Jens Axboe




      reply	other threads:[~2026-02-19 14:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-19  4:59 [LINUX PATCH v4] io_uring: Add size check for sqe->cmd Govindarajulu Varadarajan
2026-02-19 14:32 ` 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=177151153556.554113.2575771011828245874.b4-ty@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=csander@purestorage.com \
    --cc=govind.varadar@gmail.com \
    --cc=hch@lst.de \
    --cc=io-uring@vger.kernel.org \
    --cc=kbusch@kernel.org \
    --cc=miklos@szeredi.hu \
    --cc=ming.lei@redhat.com \
    --cc=sagi@grimberg.me \
    /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