Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp2094781rwl; Fri, 6 Jan 2023 01:39:45 -0800 (PST) X-Google-Smtp-Source: AMrXdXv8pB1jcrZR/u49eU9tEDActYNz/OVu8mvHjTpb1PybRN72lV9oUWF1UkhxGKnSZR/V4cvm X-Received: by 2002:a17:90b:1987:b0:226:9361:6e92 with SMTP id mv7-20020a17090b198700b0022693616e92mr13856870pjb.3.1672997985670; Fri, 06 Jan 2023 01:39:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672997985; cv=none; d=google.com; s=arc-20160816; b=GTIPVlyVQq26G44hPNjQssqy+qylBcysFrXn3idktU3f/VzU1iUpNP0yEoI622YqLX yitwa9UyofVGCP8JHVG4koNZ71+zMdlUG2I0OXBNEH1jXPrP9US68GJ+kPSBMOU/LNb7 ypIgj/9rZ25l20/6NflKBD2PhzYa8avnQDF0p+J7ls2gyjSrcFLr/C4HpspwtNPffnoZ yROKoKIAUqGmxRbCKr4ZjJR+IMU2kIJQHPApmUD8t9YROKlnkLVg6VC0r+tJxRKmdVlJ gq+Hw4WKOOz7yImEE33WNUQt5gX1MOgYasTCx8AqZnQo7d/yfInidjZTGlu4qXr722pE lnng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=Qi+2ixgkqly6sjKv4IR40CnPlj4io6R4Upj8g3xrj2c=; b=Fpi1HXuQaIARegcLQQlSsG0GjC4n3j0+Z+3naxLFT/Z3BztxvtPFCKtLxhrSgnQRka n0vEA6sHZQ3gC0aY1B/v2y8YHB2zHqEHdzeNBGPFFj3sclfvs+ox8p/K1Mj2vpYEreu7 5lEfn9BoATH/9rTOPz9qg6YW28/Tl3OrDE4C3Bq0J7SF/Geg0Xjf4BGkpHxm/RszJaWx S/WQC8pCjZSwpeQagFTMHJczBmP4SjoHfbCVG+TCE1GORQUruANUpHPRFS8tZGF2NBU+ E2XjkVA5Cqv9n/0MJtTPtFBsfKX4OzVesAYKhrTJNGPx/gR93WOlFgusoSFreB5Yg3iF dlHw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f36-20020a635564000000b00478c0ebc7c0si907910pgm.746.2023.01.06.01.39.38; Fri, 06 Jan 2023 01:39:45 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232437AbjAFJSN (ORCPT + 56 others); Fri, 6 Jan 2023 04:18:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232591AbjAFJSB (ORCPT ); Fri, 6 Jan 2023 04:18:01 -0500 X-Greylist: delayed 267 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 06 Jan 2023 01:18:00 PST Received: from mail.nfschina.com (unknown [42.101.60.237]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D10D63188; Fri, 6 Jan 2023 01:17:59 -0800 (PST) Received: from localhost (unknown [127.0.0.1]) by mail.nfschina.com (Postfix) with ESMTP id D14BC1A00A04; Fri, 6 Jan 2023 17:13:41 +0800 (CST) X-Virus-Scanned: amavisd-new at nfschina.com Received: from mail.nfschina.com ([127.0.0.1]) by localhost (localhost.localdomain [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VsiXbWKBOZnm; Fri, 6 Jan 2023 17:13:41 +0800 (CST) Received: from localhost.localdomain (unknown [180.167.10.98]) (Authenticated sender: yuzhe@nfschina.com) by mail.nfschina.com (Postfix) with ESMTPA id 930E01A009FF; Fri, 6 Jan 2023 17:13:40 +0800 (CST) From: Yu Zhe To: axboe@kernel.dk, asml.silence@gmail.com Cc: io-uring@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, liqiong@nfschina.com, Yu Zhe Subject: [PATCH] io_uring: fix some spelling mistakes in comment Date: Fri, 6 Jan 2023 17:12:42 +0800 Message-Id: <20230106091242.20288-1-yuzhe@nfschina.com> X-Mailer: git-send-email 2.11.0 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,RDNS_NONE, SPF_HELO_NONE,SPF_NONE autolearn=no 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 Fix typos in comment. Signed-off-by: Yu Zhe --- io_uring/io_uring.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/io_uring/io_uring.c b/io_uring/io_uring.c index 58ac13b69dc8..99074d5fe195 100644 --- a/io_uring/io_uring.c +++ b/io_uring/io_uring.c @@ -557,7 +557,7 @@ static void io_eventfd_flush_signal(struct io_ring_ctx *ctx) * Eventfd should only get triggered when at least one event has been * posted. Some applications rely on the eventfd notification count * only changing IFF a new CQE has been added to the CQ ring. There's - * no depedency on 1:1 relationship between how many times this + * no dependency on 1:1 relationship between how many times this * function is called (and hence the eventfd count) and number of CQEs * posted to the CQ ring. */ @@ -2822,7 +2822,7 @@ static __cold void io_tctx_exit_cb(struct callback_head *cb) * When @in_idle, we're in cancellation and it's racy to remove the * node. It'll be removed by the end of cancellation, just ignore it. * tctx can be NULL if the queueing of this task_work raced with - * work cancelation off the exec path. + * work cancellation off the exec path. */ if (tctx && !atomic_read(&tctx->in_idle)) io_uring_del_tctx_node((unsigned long)work->ctx); @@ -3095,7 +3095,7 @@ __cold void io_uring_cancel_generic(bool cancel_all, struct io_sq_data *sqd) bool loop = false; io_uring_drop_tctx_refs(current); - /* read completions before cancelations */ + /* read completions before cancellations */ inflight = tctx_inflight(tctx, !cancel_all); if (!inflight) break; -- 2.11.0