Skip to content

io_uring uapi updates

Ammar Faizi io-uring lkml 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 12 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2io_uring: uapi: Don't force linux/time_types.h for userspaceinclude/uapi/linux/io_uring.h+9 -00 replies
2/2io_uring: uapi: Don't use a zero-size arrayinclude/uapi/linux/io_uring.h+2 -23 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/2] io_uring uapi updates

From: Ammar Faizi <[email protected]>

Hi Jens,

io_uring uapi updates:

1) Don't force linux/time_types.h for userspace. Linux's io_uring.h is synced 1:1 into liburing's io_uring.h. liburing has a configure check to detect the need for linux/time_types.h (Stefan).

2) Do not use a zero-size array because it doesn't allow the user to compile an app that uses liburing with the -pedantic-errors flag:

io_uring.h:611:28: error: zero size arrays are an extension [-Werror,-Wzero-length-array]

Replace the array size from 0 to 1 (me).

---

Ammar Faizi (1):
io_uring: uapi: Don't use a zero-size array

Stefan Metzmacher (1):
io_uring: uapi: Don't force linux/time_types.h for userspace

 include/uapi/linux/io_uring.h | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

base-commit: 5576035f15dfcc6cb1cec236db40c2c0733b0ba4

Signature · 1 line
Ammar Faizi