Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1468676rwd; Thu, 8 Jun 2023 19:24:58 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ70rcMjmeD7C/1IxZtABr3o25sdmoM/X9aR5MtnYjD1wWmXkxWuR9ELYYGm0t7k90FUMg+k X-Received: by 2002:a17:902:d4c8:b0:1af:de3d:bbe3 with SMTP id o8-20020a170902d4c800b001afde3dbbe3mr114943plg.26.1686277497782; Thu, 08 Jun 2023 19:24:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686277497; cv=none; d=google.com; s=arc-20160816; b=sJujBvp39qDSKHr2dHd8ZaKu9jBzUNCGXgKi/VBwDz/lxRdOL/WypIiGVoEY+Kx0cC ebcCmzrxCpII9AMgDqPT1SDn+6bGhat4VxLgNLnz/fspY4jUPfD3AHa5VD2k+rvCucxb 9zGapVtr+YCI4neNP44GwbgiNnRcwMdJuUfe43KZS2wS3HP4ETaLqUk4ki/2g9hPKVSb p6Bp47nQMKC4AWp48quPukv9jKitpcNx++LhUJEGhxfKFTQWuqhKbNNCB9xR/CwkHwRn GK4UeQCzu2G0vEpjvcyCXApO7P0oqeCA/7FkbnSaffSr+3qFrA4NIT8esHr3Ib5j2o2d etHQ== 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=bOL2KyKPqbglpn2iXbdZLzEQeaTsyflCWMzgB1FwSL0=; b=OKEVaL8CQm3rHRDFZG+GEXkWBTNFANTfHA1ZRor8ii4+/JSMxc1o4v7d2zR2zuwCU+ Xco4n+qx2ZyaxA8MndVr+npfIq6aPtS3ppQbt5R0ESVSdFiBtPVQkb4glQ7NzSOC3YAK xDhQ2NO/b16x8A3olwh5tiJT8AojSnEO2mKO48kZeCUfhVLubrgZokWXSMS42YZn4sgN Nf3qpyow2256PbFZNCkf6MwMYaKGs1moBemvPLrimxQhC8M4xe8ezJkTk9T6Oncgy5xN WPbJrNLvcK/D/eOx/cUaDZ+Ju8PBRpkZ33GTHuj+SRv60a532I5FvP5DnLm6PyICGl2i Msnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gnuweeb.org header.s=default header.b=k0rB+eXa; 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 j11-20020a170902690b00b001b03d543548si1863313plk.344.2023.06.08.19.24.44; Thu, 08 Jun 2023 19:24:57 -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=k0rB+eXa; 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 S238034AbjFIBy1 (ORCPT + 99 others); Thu, 8 Jun 2023 21:54:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233412AbjFIBy0 (ORCPT ); Thu, 8 Jun 2023 21:54:26 -0400 Received: from gnuweeb.org (gnuweeb.org [51.81.211.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B3021FDF; Thu, 8 Jun 2023 18:54:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1686275664; bh=3ljPQmDJI0BubglR2nNAPuUiDuj6mXsBY7G7L13axWQ=; h=From:To:Cc:Subject:Date; b=k0rB+eXaRxv/qWV1WhvGuUtKePrcHtirv0eQHpz//N/X52kMMrezwwttrR2jaqzpv MAkm2thVRyvt57K6kexhZy5m1dNpPnIlX46YXfpvHhnJMFFMNSGd0EyCEd3kin/dwi O/tP9UK7InqbZGPNPvOcJvDSq1Aa852Kyz8NmuJ3J3rosxjJwBsv3Lx3ySTaV9m1C4 MuwCNHTZ0AbNlvQncnrPG1n+SORYfZnCIn753qYOooCbHJYvZUL0nWy2EiD64zC/2r BTvFlyXCZAr20evYhJFyTT/B8iNMpnYdGkaoJG8Nub+unTbU7F9QmUFdpxo1bgOW47 +DGSl6cmCiPYw== Received: from integral2.. (unknown [103.74.5.63]) by gnuweeb.org (Postfix) with ESMTPSA id 86A3A23EC0A; Fri, 9 Jun 2023 08:54:22 +0700 (WIB) From: Ammar Faizi To: Jens Axboe Cc: Ammar Faizi , Alviro Iskandar Setiawan , GNU/Weeb Mailing List , Pavel Begunkov , io-uring Mailing List , Linux Kernel Mailing List Subject: [PATCH liburing v1 0/2] Fixes for io_uring_for_each_cqe Date: Fri, 9 Jun 2023 08:54:01 +0700 Message-Id: <20230609015403.3523811-1-ammarfaizi2@gnuweeb.org> 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,URIBL_BLOCKED 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 Hi Jens, Please consider taking these last-minute fixes for liburing-2.4 release. There are two patches in this series: ## 1. man/io_uring_for_each_cqe: Fix return value, title, and typo - Fix the return value. io_uring_for_each_cqe() doesn't return an int. - Fix the title, it was io_uring_wait_cqes(), it should be io_uring_for_each_cqe(). - Fix typo: s/io_uring_for_each_cqes/io_uring_for_each_cqe/. ## 2. Explicitly tell it's a macro and add an example Let the reader directly know that it's not a function, but a macro. Also, give a simple example of its usage. Signed-off-by: Alviro Iskandar Setiawan Signed-off-by: Ammar Faizi --- Ammar Faizi (2): man/io_uring_for_each_cqe: Fix return value, title, and typo man/io_uring_for_each_cqe: Explicitly tell it's a macro and add an example man/io_uring_for_each_cqe.3 | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) base-commit: b4ee3108b93f7e4602430246236d14978abad085 -- Ammar Faizi