[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221115212614.1308132-1-ammar.faizi@intel.com>
Date: Wed, 16 Nov 2022 04:29:51 +0700
From: Ammar Faizi <ammarfaizi2@...weeb.org>
To: Jens Axboe <axboe@...nel.dk>
Cc: Pavel Begunkov <asml.silence@...il.com>,
Stefan Metzmacher <metze@...ba.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
io-uring Mailing List <io-uring@...r.kernel.org>,
GNU/Weeb Mailing List <gwml@...r.gnuweeb.org>,
Ammar Faizi <ammarfaizi2@...weeb.org>
Subject: [PATCH v1 0/2] io_uring uapi updates
From: Ammar Faizi <ammarfaizi2@...weeb.org>
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@...weeb.org>
---
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
Powered by blists - more mailing lists