[PATCH v1 0/2] io_uring uapi updates

From: Ammar Faizi
Date: Tue Nov 15 2022 - 16:30:53 EST


From: Ammar Faizi <ammarfaizi2@xxxxxxxxxxx>

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).

Signed-off-by: Ammar Faizi <ammarfaizi2@xxxxxxxxxxx>
---

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
--
Ammar Faizi