[LTP] lapi/io_uring: Add fallback definitions for OP_READ(WRITE)

linuxtestproject.agent@gmail.com linuxtestproject.agent@gmail.com
Thu Apr 16 15:35:26 CEST 2026


Hi Sachin,

On Thu, 16 Apr 2026 18:11:44 +0530, Sachin Sant wrote:
> lapi/io_uring: Add fallback definitions for OP_READ(WRITE)

> +#ifndef IORING_OP_READ
> +/* Added in kernel v5.6 */
> +#define IORING_OP_READ		22
> +#endif /* IORING_OP_READ */
> +
> +#ifndef IORING_OP_WRITE
> +/* Added in kernel v5.6 */
> +#define IORING_OP_WRITE		23
> +#endif /* IORING_OP_WRITE */

Looks good.

Reviewed-by: LTP AI Reviewer <ltp-ai@noreply.github.com>

---
Note:

Our agent completed the review of the patch. The full review can be
found at: https://github.com/linux-test-project/ltp-agent/actions/runs/24513031465

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


More information about the ltp mailing list