Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1654343pxa; Thu, 13 Aug 2020 13:49:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxvmUVAxrtzjGNwPddnfyKEK+m1lodK3cAe2c5jlnJyBd6bGrctL67n99y5cNUkv5DYpT/I X-Received: by 2002:a17:906:b110:: with SMTP id u16mr6362619ejy.483.1597351750796; Thu, 13 Aug 2020 13:49:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597351750; cv=none; d=google.com; s=arc-20160816; b=ud00V5MR8TVHTns+2yzn9fl6Yf9gALzxc4R1OdMKCgKmUfP4qWKkeRHKay2WxbAxyj wIVfVEHvxqcCueLRnpNjEUVLcqrD/YoJWc6ZsHcZ5eZRzNCfI4WkYEAX/cEg1o0GgQCO RGQ6oePn28FOajXE36nB8GlZGMwq6lMyczR6GUGI1mPzbMZ5YpKdAEE0BOULyT44L5UK 1qoPpUiDO35uPUQ/wNcuPuyYGp88VYi7joFBAlzTsn4bnC6HwMoXQNkc1F/dLYRP052o P40byd8x0sYywcigHIeG4MezziGZB1DOt+krBPNoGQHrn+4r6TO+ud0Orb5pdM9CisSP vFuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=xamI12qnswCtq7ziGvZxdfqM2NUFAtHM3epAJTcwUq4=; b=ZMELZQZ1ruVZZcIm7wVz/RcFv60Maa8aT4hCSxZtC4hfaUUKgqK1bVjHGzroy00Oqd k09uyDJB76NeEHNLutLhUGwOzD8pTHnCZ2dLAhac4l/J4ClDfIwUiM0/DiFlBc/W1LSX TpBMCjItP1WzHD2u+vZ4GME0wQ+QZoy2Iq1fTVXEmw8tgbcQilz46nN8kIwIQgL138cl Iktnl2ksCR1LVPN1zRBSbmDjSSKjQ789Ra8pvOrxp3TjQ6nm9PFiJ5Nncd08CPMT8mcU oqRrIJWJVBV16P7ax+Jz7rwRLGprwHgiNbNt/jOGH/iZ6fsztt9zm+idnBFVGLGcohFT oZ/g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a29si4035968edj.418.2020.08.13.13.48.47; Thu, 13 Aug 2020 13:49:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726533AbgHMUsM (ORCPT + 99 others); Thu, 13 Aug 2020 16:48:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726384AbgHMUsM (ORCPT ); Thu, 13 Aug 2020 16:48:12 -0400 Received: from ms.lwn.net (ms.lwn.net [IPv6:2600:3c01:e000:3a1::42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A93FDC061757; Thu, 13 Aug 2020 13:48:11 -0700 (PDT) Received: from lwn.net (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 92CD35A0; Thu, 13 Aug 2020 20:48:09 +0000 (UTC) Date: Thu, 13 Aug 2020 14:48:08 -0600 From: Jonathan Corbet To: Huang Shijie Cc: , , , , Subject: Re: [PATCH] Documentation/locking/locktypes: fix the typo Message-ID: <20200813144808.4bcd0dfd@lwn.net> In-Reply-To: <20200813060220.18199-1-sjhuang@iluvatar.ai> References: <20200813060220.18199-1-sjhuang@iluvatar.ai> Organization: LWN.net MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 13 Aug 2020 14:02:20 +0800 Huang Shijie wrote: > We have three categories locks, not two. > > Signed-off-by: Huang Shijie > --- > Documentation/locking/locktypes.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/locking/locktypes.rst b/Documentation/locking/locktypes.rst > index 1b577a8bf982..4cefed8048ca 100644 > --- a/Documentation/locking/locktypes.rst > +++ b/Documentation/locking/locktypes.rst > @@ -10,7 +10,7 @@ Introduction > ============ > > The kernel provides a variety of locking primitives which can be divided > -into two categories: > +into three categories: One can never get away from those off-by-one errors...applied, thanks. jon