From nobody Fri Apr 10 12:34:57 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 30CCEC32772 for ; Tue, 23 Aug 2022 16:21:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244579AbiHWQU5 (ORCPT ); Tue, 23 Aug 2022 12:20:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244422AbiHWQUM (ORCPT ); Tue, 23 Aug 2022 12:20:12 -0400 Received: from gnuweeb.org (gnuweeb.org [51.81.211.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3727026F4FD; Tue, 23 Aug 2022 05:40:16 -0700 (PDT) Received: from localhost.localdomain (unknown [125.160.110.187]) by gnuweeb.org (Postfix) with ESMTPSA id 93C1480A10; Tue, 23 Aug 2022 11:46:09 +0000 (UTC) X-GW-Data: lPqxHiMPbJw1wb7CM9QUryAGzr0yq5atzVDdxTR0iA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1661255172; bh=qy+DFTSTdukUMNnpchY37kQHjw0XQENf6FETT6MluSs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YYPuCMcjprM5xY2JCnMmyayDfoCVN9OB+Zx0Y557+4Iol/M/d88mXxLSm7QQsk+Pt yPJzoaKqC+/8PcbzNq8YFLQGVqlhG2aU9MK5ImwVzEMakLCX/5ZwkcPzgXQMq/sl/F r+xTEeOnEnedOauDwlNE7U5jeSSBVeA8yTdko8b1iBatN5q9YrjgaomtRhBAAp3+Vj hPjd8cpWYgWMUd/jGpydqy4a17f/VNl/XueL46XsJimApGtDrSxqewFjlBBElUy9UP YLt418a38JrcOY8l4nKCBj2kWzR//xl6nAKQc2AKlDh7+R+AiCk0l5daCIrJrmy57A BuTuJR+VfMFSA== From: Ammar Faizi To: Jens Axboe Cc: Ammar Faizi , io-uring Mailing List , Linux Kernel Mailing List , GNU/Weeb Mailing List , Bart Van Assche , Dylan Yudaken , Facebook Kernel Team , Kanna Scarlet Subject: [PATCH 1/2] MAINTAINERS: Add `include/linux/io_uring_types.h` Date: Tue, 23 Aug 2022 18:45:48 +0700 Message-Id: <20220823114337.2858669-2-ammar.faizi@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220823114337.2858669-1-ammar.faizi@intel.com> References: <20220823114337.2858669-1-ammar.faizi@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Ammar Faizi File include/linux/io_uring_types.h doesn't have a maintainer, add it to the io_uring section. Signed-off-by: Ammar Faizi --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 8a5012ba6ff9..6dc55be41420 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -10657,6 +10657,7 @@ T: git git://git.kernel.dk/linux-block T: git git://git.kernel.dk/liburing F: io_uring/ F: include/linux/io_uring.h +F: include/linux/io_uring_types.h F: include/uapi/linux/io_uring.h F: tools/io_uring/ =20 --=20 Ammar Faizi From nobody Fri Apr 10 12:34:57 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CD54DC32772 for ; Tue, 23 Aug 2022 14:31:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241202AbiHWObi (ORCPT ); Tue, 23 Aug 2022 10:31:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242150AbiHWObO (ORCPT ); Tue, 23 Aug 2022 10:31:14 -0400 Received: from gnuweeb.org (gnuweeb.org [51.81.211.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C6D32AAD47; Tue, 23 Aug 2022 04:46:55 -0700 (PDT) Received: from localhost.localdomain (unknown [125.160.110.187]) by gnuweeb.org (Postfix) with ESMTPSA id BB87A80A73; Tue, 23 Aug 2022 11:46:12 +0000 (UTC) X-GW-Data: lPqxHiMPbJw1wb7CM9QUryAGzr0yq5atzVDdxTR0iA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1661255175; bh=pGX4zsckZwOQDvfSpRX0gdS/uZ+Tg3WOPnrOcP57hxA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uDy5c5XLGAw+LVwg1HTeXn9+XvfRJSQahgt84S30RZu+l+6QJzVPPP8BKSd97hlHc Fe1ThsesfAIkQam0uvA2iXZh9k8ZQnv37pBKG6pdqYuRmCr37YRF86w0TLt30HqNJw E8cXiViBT0VZ/+oX7+/+32MHkN7LHYcKL8vK4m7yWVpBZBgeMKvtfZV4dF2Pw12cjl Q1NEhxnASE8DvjkeJSnZFjJS/cEQ3JBClIckUoek7WaMCkzn3wzEGHEbg8tgwJ56yC kGPhQC2I362o2ACY84xu35iVfJmK2mvAy8Y3EXmDaNEwzK6/+NGB9AXIezbaaIZ8Jh k9Z52qxnd5J4Q== From: Ammar Faizi To: Jens Axboe Cc: Ammar Faizi , io-uring Mailing List , Linux Kernel Mailing List , GNU/Weeb Mailing List , Bart Van Assche , Dylan Yudaken , Facebook Kernel Team , Kanna Scarlet Subject: [PATCH 2/2] io_uring: uapi: Add `extern "C"` in io_uring.h for liburing Date: Tue, 23 Aug 2022 18:45:49 +0700 Message-Id: <20220823114337.2858669-3-ammar.faizi@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220823114337.2858669-1-ammar.faizi@intel.com> References: <20220823114337.2858669-1-ammar.faizi@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Ammar Faizi Make it easy for liburing to integrate uapi header with the kernel. Previously, when this header changes, the liburing side can't directly copy this header file due to some small differences. Sync them. Link: https://lore.kernel.org/io-uring/f1feef16-6ea2-0653-238f-4aaee35060b6= @kernel.dk Cc: Bart Van Assche Cc: Dylan Yudaken Cc: Facebook Kernel Team Signed-off-by: Ammar Faizi --- include/uapi/linux/io_uring.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/uapi/linux/io_uring.h b/include/uapi/linux/io_uring.h index 1463cfecb56b..9e0b5c8d92ce 100644 --- a/include/uapi/linux/io_uring.h +++ b/include/uapi/linux/io_uring.h @@ -12,6 +12,10 @@ #include #include =20 +#ifdef __cplusplus +extern "C" { +#endif + /* * IO submission data structure (Submission Queue Entry) */ @@ -661,4 +665,8 @@ struct io_uring_recvmsg_out { __u32 flags; }; =20 +#ifdef __cplusplus +} +#endif + #endif --=20 Ammar Faizi