All of lore.kernel.org
 help / color / mirror / Atom feed
From: linuxtestproject.agent@gmail.com
To: Sebastian Chlad <sebastianchlad@gmail.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] io_uring: Redesign common helpers to follow liburing API conventions
Date: Mon,  8 Jun 2026 14:54:18 +0000	[thread overview]
Message-ID: <20260608145418.4160-1-linuxtestproject.agent@gmail.com> (raw)
In-Reply-To: <20260608143652.6356-2-sebastian.chlad@suse.com>

Hi Sebastian,

On Mon, Jun 8 2026, Sebastian Chlad wrote:
> io_uring: Redesign common helpers to follow liburing API conventions

--- [PATCH 1/3] ---

> - io_uring_prep_rw(): generic SQE fill for read/write perations

Typo: "perations" -> "operations".

> -static inline void io_uring_submit_sqe_internal(struct io_uring_submit *s,
> -                                               int fd, int opcode,
> [...]
> -static inline void io_uring_do_io_op(struct io_uring_submit *s, int fd,
> [...]
> -static inline void io_uring_do_vec_io_op(struct io_uring_submit *s, int fd,

This patch removes io_uring_submit_sqe_internal(),
io_uring_do_io_op() and io_uring_do_vec_io_op() from the header, but
io_uring01.c and io_uring03.c still reference them until patches 2/3
and 3/3. After applying only this commit the tree does not compile,
which breaks git-bisect.

The false-positive guide (section 10) lists "remove the consumer
before deleting the API" as the correct ordering. Could the series be
reordered so that the callers are migrated first, or the header change
is squashed with the caller updates?

> +static inline const char *ioring_op_name(int op)

ioring_op_name() was previously called only by the removed helpers
io_uring_do_io_op() and io_uring_do_vec_io_op(). After this series
it has no callers and is dead code. Should it be removed here, or is
there a planned consumer?

Verdict: Needs revision

---
Note:

The agent can sometimes produce false positives although often its
findings are genuine. If you find issues with the review, please
comment this email or ignore the suggestions.

Regards,
LTP AI Reviewer

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

  reply	other threads:[~2026-06-08 14:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-08 14:36 [LTP] [PATCH 0/3] io_uring: Fix user_data misuse and align helpers with liburing API Sebastian Chlad
2026-06-08 14:36 ` [LTP] [PATCH 1/3] io_uring: Redesign common helpers to follow liburing API conventions Sebastian Chlad
2026-06-08 14:54   ` linuxtestproject.agent [this message]
2026-06-10 16:08   ` Martin Doucha
2026-06-08 14:36 ` [LTP] [PATCH 2/3] io_uring01: Update to use new io_uring_common.h helpers Sebastian Chlad
2026-06-08 14:36 ` [LTP] [PATCH 3/3] io_uring03: " Sebastian Chlad
  -- strict thread matches above, loose matches on Subject: below --
2026-06-14 17:47 [LTP] [PATCH v2 1/4] io_uring: Redesign common helpers to follow liburing API conventions Sebastian Chlad
2026-06-14 18:19 ` [LTP] " linuxtestproject.agent

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=20260608145418.4160-1-linuxtestproject.agent@gmail.com \
    --to=linuxtestproject.agent@gmail.com \
    --cc=ltp@lists.linux.it \
    --cc=sebastianchlad@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.