Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp689286pxj; Thu, 17 Jun 2021 11:27:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwcWyKREaHIPa45zX2QNU1Ik7RwlqhACw7Syh6MEjEENR7aeZuLPmTiQJer8vdZZGHr1ZN1 X-Received: by 2002:aa7:c44b:: with SMTP id n11mr8721685edr.4.1623954433066; Thu, 17 Jun 2021 11:27:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623954433; cv=none; d=google.com; s=arc-20160816; b=laVDkauqLRG4GlpD0YzCCUxhw6jb1U2sF+/MNtQ9/AerrV3cFhzbBiyy2x8mKj9lNK 3c4C/0ltXZTgdViRyQ9xLlB4dEarlrJJNhKEtolrH+oKK6ZDRE5E59WilfSW1hv0eDfm h+r1BtnALnPL7LyRAASiTxzE0PHLPfXPNYqZ8lZVnCeGBZ/nwNrU8bi7wGaH4+68/Ihz eHfVIuD+AbYMOfkJLfszwpuTwITm99yRAO0X5CpQB9a2TO5btpf+zZRTHJD8zbZjk2u2 pI22ZBrFktU+STD/htHad7n9+ui3Q+hqFu+A5v9RcUWchYNuEask4XXO5BJuz5SH3ewf +Hdg== 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=LIhMT1j3iJAaXNuZq7hCeQqZfqVMaOKz+Q/ejpSNsmM=; b=dF24adMY4NiR9hfB4ydBYJIWS/CBQCtBE5gJ+bOWlArtUY6rEsC5DdPT+zXZ4gZllE ny2oIOfl+0N5Io85loXtBVsI8dZncLAsMaR/f2eSnbcUgFqiF9t7sEO+lHUsKXSKYPBK 5We8JTcd+P8vsUrS+xjf7k5rfbLFxgKF00Aod9BY2VXOHpZP9+4CGhalTgXaBOJQb4sv TEgAGuDxuF0JDXLLXQIiyl0pwgKvl0C7GEWkV3b0elLmnJ3GlaTg1jvGGY+BUaBBJ5uC a7bNmVLaNqkklq8L5XTgalJk4ALtbb+tLyZSfW/396fM2lfELQnXsie+AStZyUo5Ad2q eKbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=u0q5DeNv; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w4si5912583edc.146.2021.06.17.11.26.49; Thu, 17 Jun 2021 11:27:13 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=u0q5DeNv; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233143AbhFQPTy (ORCPT + 99 others); Thu, 17 Jun 2021 11:19:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233111AbhFQPTy (ORCPT ); Thu, 17 Jun 2021 11:19:54 -0400 Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7CAE7C061574 for ; Thu, 17 Jun 2021 08:17:46 -0700 (PDT) Received: by mail-io1-xd2f.google.com with SMTP id d9so3557353ioo.2 for ; Thu, 17 Jun 2021 08:17:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=LIhMT1j3iJAaXNuZq7hCeQqZfqVMaOKz+Q/ejpSNsmM=; b=u0q5DeNvodHE8xRpUKhXNXBu+sU9kNfLU/cggfhap651/3HEdh64j4DtxLmv399HWs GLbwSArvZ8kWb3Ygw7zmUqaCwbeaF2uvJBejEL6wGXUmbX55P0S9vSMgK4A7kPW8WYVo 4m/8QXXlAq6x4v1ru1WhfphsafwXUnSGv6brvYcg68mC/DWcksFwgUf5AdADtzjlywTU 8QTie9FFUqCPFr8saxiet2Yr0z24PWiNKoEi9pEwcS5aSWaA24H4BXxfc1FZ1LMvnUVa FtCAow0S9EnjoTgLzL9K7Kzjnnk0PcTjLZa/F/jkool1KEiW1zNUa0Lq65iVRX5FprzM wM5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=LIhMT1j3iJAaXNuZq7hCeQqZfqVMaOKz+Q/ejpSNsmM=; b=Nkum5ghaktF8XR3/QqtEarCz9NYJFvdvb1eHtTQyNjLImvuTCo13PGL3KLV9Dyj/5k tvC/oYyA8uSWVvjSKxX2DODQwMfLEcRFlchcx0C4JGJniS3vdnXWcjBfvIY9rrWzLoJU ltC9K+pBPXsO5q0wRJCeH/YtZgVrSjUNqloM3eotFVVve8mwIRs6UJM3O2ig8V94uluV E5phlCDltViwf4wOHp4T5vkaraSAuMaeyG5RXjXOawnXOuJSFVnEqVBl1Gvj1HtLSOKl 5h4S9rlb7yB39MWU8IBocZJr5M+ELGRERRAD9zrsQY3uHTfqOyIyR3kNC0AMBDRCgobh 688w== X-Gm-Message-State: AOAM533acsp2Nx52OMNlmHIJHgBi44qpKzYt9aXNUSlwhsyFs0q3YLAX A2k4Fnu9TDnoT3Dax/z25cM= X-Received: by 2002:a05:6638:144f:: with SMTP id l15mr5207242jad.131.1623943065959; Thu, 17 Jun 2021 08:17:45 -0700 (PDT) Received: from auth1-smtp.messagingengine.com (auth1-smtp.messagingengine.com. [66.111.4.227]) by smtp.gmail.com with ESMTPSA id d18sm888035ils.5.2021.06.17.08.17.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Jun 2021 08:17:45 -0700 (PDT) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailauth.nyi.internal (Postfix) with ESMTP id DD5B427C0054; Thu, 17 Jun 2021 11:17:44 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Thu, 17 Jun 2021 11:17:44 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeefuddgkeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesthdtre dttddtvdenucfhrhhomhepuehoqhhunhcuhfgvnhhguceosghoqhhunhdrfhgvnhhgsehg mhgrihhlrdgtohhmqeenucggtffrrghtthgvrhhnpedvleeigedugfegveejhfejveeuve eiteejieekvdfgjeefudehfefhgfegvdegjeenucevlhhushhtvghrufhiiigvpedtnecu rfgrrhgrmhepmhgrihhlfhhrohhmpegsohhquhhnodhmvghsmhhtphgruhhthhhpvghrsh honhgrlhhithihqdeiledvgeehtdeigedqudejjeekheehhedvqdgsohhquhhnrdhfvghn gheppehgmhgrihhlrdgtohhmsehfihigmhgvrdhnrghmvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 17 Jun 2021 11:17:44 -0400 (EDT) Date: Thu, 17 Jun 2021 23:17:19 +0800 From: Boqun Feng To: Xiongwei Song Cc: peterz@infradead.org, mingo@redhat.com, will@kernel.org, longman@redhat.com, linux-kernel@vger.kernel.org, Xiongwei Song Subject: Re: [PATCH] locking/lockdep: correct the description error for check_redundant() Message-ID: References: <20210617150523.454965-1-sxwjean@me.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210617150523.454965-1-sxwjean@me.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 17, 2021 at 11:05:23PM +0800, Xiongwei Song wrote: > From: Xiongwei Song > > If there is no matched result, check_redundant() will return BFS_RNOMATCH. > > Signed-off-by: Xiongwei Song Good catch! Nit: you may want to capitalize the first letter after subsystem tag in the patch title, like: "locking/lockdep: Correct ..." Reviewed-by: Boqun Feng Regards, Boqun > --- > kernel/locking/lockdep.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c > index cfe0f4374594..1f126ca7fbd7 100644 > --- a/kernel/locking/lockdep.c > +++ b/kernel/locking/lockdep.c > @@ -2726,7 +2726,7 @@ static inline bool usage_skip(struct lock_list *entry, void *mask) > * or not. If it can, -> dependency is already > * in the graph. > * > - * Return BFS_RMATCH if it does, or BFS_RMATCH if it does not, return BFS_E* if > + * Return BFS_RMATCH if it does, or BFS_RNOMATCH if it does not, return BFS_E* if > * any error appears in the bfs search. > */ > static noinline enum bfs_result > -- > 2.30.2 >