Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3802790rwa; Tue, 23 Aug 2022 10:19:36 -0700 (PDT) X-Google-Smtp-Source: AA6agR5nCE5aKvlw2GfJQ5cXJ8tsnC6JndPMOPRJPs1UUuH5STawQLVCCV9f4j8MEJKGwgym94g9 X-Received: by 2002:a17:906:9b83:b0:730:b3ae:343 with SMTP id dd3-20020a1709069b8300b00730b3ae0343mr424314ejc.670.1661275176024; Tue, 23 Aug 2022 10:19:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661275176; cv=none; d=google.com; s=arc-20160816; b=sYmIJrTmfQka965Zr2YApNuNyX3/RIrbjeiFlE8dZakbI3gYTeNiEDr+XqEY75DiLY OIqRHqI7hUebDinMpScgcCV2WGcPiTuTWmfZZ6mMiQ+QlsmyFnelYyeESeY8o2mRVxQd R6dD6yoJmMHt5PPEh+cWkZuoc6rA3M3KvRtAscp0SilybQkgKvYLEadPFokZiqiMkJzv aQ4nmMMp4i8wSH2FSga1LcrbticB8ziHaLK3vbBfBMVu4BNMnpD68NQViww6rPdymYDy vJ7Sdxjf9nm9TLasB7DW0r17led1c8OmTorlEuzdEkhBU7jgs2WoWxCfD8bGi1PspotT Q2NA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=XfQAVO2iHEmuHmtrY9Hih9AEzO4FtTuv3L+8xiWF/cY=; b=QtTHa/q3PH7frwsn+ysvM0js8BiBafdMh5RpARERUy+oM7/ae0BH4ev5rglZTH6KGB RFxmlcge+aRcvCYfbHZuW7YvBB7WJXPGhq/l14eRKqjcRZLbRVXhtGEW8lXs1FWpOFpg R6jG3FIN+EmFIJlKEvq0ctiogI4+iTbDjHW0lFvkegeOGbpp9DeJGk85UrpYsotaolr1 zYz1x7OemMfYsk3y9hG/i3Fw4tLbAZ28euU8uDw21mZynTC96rW7Ud/95uuCPqg2AVOP iO9Exzt5QeF98Tw6AA/PKPvn+arZp29x4Lmf7FcMliq4zfrBTl96J4G7Qn5dtATh4aFd rkyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gnuweeb.org header.s=default header.b=Qv3cHjGp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnuweeb.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b4-20020a0564021f0400b00442edebe687si1319549edb.633.2022.08.23.10.19.09; Tue, 23 Aug 2022 10:19:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gnuweeb.org header.s=default header.b=Qv3cHjGp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnuweeb.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244083AbiHWQUu (ORCPT + 99 others); Tue, 23 Aug 2022 12:20:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244396AbiHWQUL (ORCPT ); Tue, 23 Aug 2022 12:20:11 -0400 Received: from gnuweeb.org (gnuweeb.org [51.81.211.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3711226F4E7; Tue, 23 Aug 2022 05:40:15 -0700 (PDT) Received: from localhost.localdomain (unknown [125.160.110.187]) by gnuweeb.org (Postfix) with ESMTPSA id 6F285809CD; Tue, 23 Aug 2022 11:46:06 +0000 (UTC) X-GW-Data: lPqxHiMPbJw1wb7CM9QUryAGzr0yq5atzVDdxTR0iA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1661255169; bh=iXY58qpE+3plE5TT69M+Y8nbwlXotZalLJMbvYrNNig=; h=From:To:Cc:Subject:Date:From; b=Qv3cHjGppNT7LSVrgcgrEMrs1TOsZ1zxM8GN2ji1GFAB/JboqoWlDxamZe1dx+hgv MyOqLlH3aGT9x/EPJgGc+FgYGjqoc6Fmei9YfT6HrSLvjV8KEbIIHX01eEE1zGgBSZ psVPmFTKBJEmvf0Biii9zWL+rsTzP47KBAcvFupPQeqaKIKITTk1p3apO/0pgqTkJZ V2I/zxmWWMadLnTiCobrbe0FZb4s3zYPxldxhDMW0M46usa3U35NoMaQKt/Zmqlxo2 tUBMvAwCb8L3twq+nXiMhLmR52ek+D4VFxy1+Cp7D/3jCA69foyN2LCwf+cSVr5ArN /CBHxpqrtwukA== 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 0/2] Maintainer and uapi header update Date: Tue, 23 Aug 2022 18:45:47 +0700 Message-Id: <20220823114337.2858669-1-ammar.faizi@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ammar Faizi Hi Jens, There are two patches in this series. 1) MAINTAINERS: Add `include/linux/io_uring_types.h`. File include/linux/io_uring_types.h doesn't have a maintainer, add it to the io_uring section. 2) io_uring: uapi: Add `extern "C"` in io_uring.h for liburing. On Tue, 28 Jun 2022 10:12:27 -0600, Jens Axboe wrote: > On 6/28/22 10:10 AM, Ammar Faizi wrote: >> Or better add that to the kernel tree as well, it won't break >> the kernel because we have a __cplusplus guard here. >> >> Jens what do you think? > > It'd be nice to keep them fully in sync. If I recall correctly, the only > differences right now is that clause, and the change to not using a zero > sized array at the end of a struct (which is slated for the kernel too). ^ Do that. Ref: https://lore.kernel.org/io-uring/f1feef16-6ea2-0653-238f-4aaee35060b6@kernel.dk 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. Cc: Bart Van Assche Cc: Dylan Yudaken Cc: Facebook Kernel Team Signed-off-by: Ammar Faizi --- Ammar Faizi (2): MAINTAINERS: Add `include/linux/io_uring_types.h` io_uring: uapi: Add `extern "C"` in io_uring.h for liburing MAINTAINERS | 1 + include/uapi/linux/io_uring.h | 8 ++++++++ 2 files changed, 9 insertions(+) base-commit: 3f743e9bbb8fe20f4c477e4bf6341c4187a4a264 -- Ammar Faizi