From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NO_DNS_FOR_FROM,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from localhost.localdomain (unknown [182.253.183.117]) by gnuweeb.org (Postfix) with ESMTPSA id 65640814D6; Tue, 15 Nov 2022 21:30:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1668547839; bh=CdwAKtOIgZ+7hsrmxIO9J1z+CoWeq0T4ndm7OWRS0po=; h=From:To:Cc:Subject:Date:From; b=tgk/9BXTYsP/qUfuX+Yn8uf1mQi81HjVXh1cAPZxH8zUVeMTZXqelaSPgicuVhG9O GTJE1KRaixi3uVy3GUK2AOofI+UhYC8Qkq2hsr9FgjFWdNO5SwX8uT0uP3n192vsUY B0Mo9NUyPnw2XyjBH6J9cRDJXgDM9yk9VxpO7HJXdbLMUvrJ4Z3L1UPvI05e/yRZMd dedI9/fu2vlvEfMJWbdonOxstpMI1XxFu3KoyrhWFnWZ3RR8YDHmOaWG0UOPEgKWXH Gpl8SfyZh+uJn3W1ofvb9lLnDuj8JwbijHiuaEGn3Vs587T0gw8iAFFteHIQ0SEcFk NwJnlywLYtsRQ== From: Ammar Faizi To: Jens Axboe Cc: Pavel Begunkov , Stefan Metzmacher , Linux Kernel Mailing List , io-uring Mailing List , GNU/Weeb Mailing List , Ammar Faizi Subject: [PATCH v1 0/2] io_uring uapi updates Date: Wed, 16 Nov 2022 04:29:51 +0700 Message-Id: <20221115212614.1308132-1-ammar.faizi@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: From: Ammar Faizi 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 --- 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