Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp2098604rwl; Fri, 6 Jan 2023 01:43:45 -0800 (PST) X-Google-Smtp-Source: AMrXdXugRugR93q5V2zR5qRsOPguAITruIrQfqlxor7swMJk5s5+XlEowDBPh6CIo/XncVLySUJF X-Received: by 2002:a17:903:41cd:b0:192:dfdb:9ebe with SMTP id u13-20020a17090341cd00b00192dfdb9ebemr15898502ple.10.1672998225801; Fri, 06 Jan 2023 01:43:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672998225; cv=none; d=google.com; s=arc-20160816; b=itubKUEBFA/0QhzG1864oUNk9xMkYga06INLp+2JeahQu6O+4naYzbedOGq5Plmvxf HUTmglPIo9c77/uRFKj7Oj+89g68pcElBK1hXnvBb2qcJSLZZ1QMYaPTkUKFWf/3gIp0 9NQG91Dxo5ShiMTs2uK40SSvtdV+ix9jcRVhiW7E+ZsrZmuk47XCrFTfeerpzke0S5K6 c9NcjiOlyVa8h3Uv52KWaJY7W1Eh6SlNPBdxYI5XpzW6iOBHS1xBa9MfxDJWB9p/vt8p 2b8uZvxEnJGOOrkbESwBbTPtd2oqXOpXtd5QusMA43snHpWl0MNcMhmJ7MZs8j0ljNXb ZLkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=nsHUD51MCCSjuycmJDPNtqyFwPMRzPaE7VwCbKr5P4A=; b=HB5zObfNp00E2jRxltvArdsRC9kfDjGp2SR6VcFDlhISE8NRJ6xkK5z66vNBAkVwIK a0B9Pgu3EhKw13uQSSWevZIggea/d2cyYyfIC3o/QkYSjHtTe6b2k5q3TyHxnlGqElk9 I27mu+iUTwZcYAmPeOCKN9vL86SgHSMeKZfJAVw0RzkScdoQkGmDjty7O36XcsYxiJ2G WItOhJDvF091Dd4GDS0xT7qPpDgC3bbw4kyz0/TpgV5RkRLU4WEgH6qhUKiBe8niSffI XEB4Fr2DSkvu0mRaa6vcEKCLF8V3nOcsPQW3Zo4cL+bIN9JcIYJWX+Djjf8KPwgRoP3P RW0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gnuweeb.org header.s=default header.b=S6T3M0LD; 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 p7-20020a170902bd0700b0019296d177a9si627306pls.138.2023.01.06.01.43.38; Fri, 06 Jan 2023 01:43: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; dkim=pass header.i=@gnuweeb.org header.s=default header.b=S6T3M0LD; 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 S231289AbjAFJlL (ORCPT + 54 others); Fri, 6 Jan 2023 04:41:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233135AbjAFJkj (ORCPT ); Fri, 6 Jan 2023 04:40:39 -0500 Received: from gnuweeb.org (gnuweeb.org [51.81.211.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BED776DB81; Fri, 6 Jan 2023 01:35:46 -0800 (PST) Received: from integral2 (unknown [182.253.183.184]) by gnuweeb.org (Postfix) with ESMTPSA id 9B6B07E4BC; Fri, 6 Jan 2023 09:35:43 +0000 (UTC) X-GW-Data: lPqxHiMPbJw1wb7CM9QUryAGzr0yq5atzVDdxTR0iA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1672997746; bh=PSwF0Q2QKh+quczjcUBNpheJtkPkO8EGIsVhqAP+3sg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=S6T3M0LDK5pKwF2CrZL7QN+nnoHPhrZqJIgxGFjOk8tEq7jNryY5I1a/RSWcMP580 E+URXp9bY0sS71Hv1G0QADQfdBtOyqC+8P8rHBM3bgUzdwLpIqqMCw7WJpP1km+TH7 wFhm4033n0SQRqT7S3QJLcQSPs4PylnlzsSolkePuafCtIYKpWIAd8E488rgjbDnp1 Sey8H6FHhW/l2vRQYbFf3v7X2om4WaXLDcjQpxqknuvuT3qbyMJvWkwAEpVR3BayuA f7S9f/kkN3VAapCg9ccJxPzfeEQrtQh5W1UVE3XSFh2JCHbwkcJ47Yex/kk27S/+1Y zdY4Fgdt/62mg== Date: Fri, 6 Jan 2023 16:35:39 +0700 From: Ammar Faizi To: Yu Zhe Cc: Jens Axboe , Pavel Begunkov , io-uring Mailing List , Linux Kernel Mailing List , kernel-janitors@vger.kernel.org, liqiong@nfschina.com Subject: Re: [PATCH] io_uring: fix some spelling mistakes in comment Message-ID: References: <20230106091242.20288-1-yuzhe@nfschina.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230106091242.20288-1-yuzhe@nfschina.com> 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 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 On Fri, Jan 06, 2023 at 05:12:42PM +0800, Yu Zhe wrote: > @@ -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 */ "cancelations" is not a typo. "cancelations" and "cancellations" are both valid spellings. The former is predominantly used in the US, while the latter is predominantly used in the UK. -- Ammar Faizi