Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1026724pxj; Thu, 17 Jun 2021 20:35:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQ53DnPsNew0QQcjTJNxL7gQfM+KDhyuWP8MhCgCd/VABtQ+Qjmx3oXwThn0FdReJLUBnI X-Received: by 2002:a05:6402:220d:: with SMTP id cq13mr2063909edb.52.1623987300542; Thu, 17 Jun 2021 20:35:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623987300; cv=none; d=google.com; s=arc-20160816; b=fOsGqPDfgz8Ff2cw9Z3UDunnEMQVZb8Q7rLfjjCd4+PE7+TDiTZlvScC2tSVKiNB5W dPSKY0Jd4RhcZRS3WHIAyxDobOH8eJnoZLzhhA7Mw6B1aIFMHF63yTSeHhyrrbmTtA9t xFaN+55e/g0Ls/tZBaTqyOUu/y9GD/RzWcpeEfXsyc39uSoNsQUbNY9HgKJ+kqQg7bsu FxPvXJwsiFOvm7f6QTB+Kfyg77is8duQPlb5KEmCrRfy54a92nDBww0rJP/4BWT4RhEP TUoVT4yRT3RlRTQakSQAQ1oMWOUoWC+O9HhfnYvbg8eO8urZTLfKpIF7JWyQezMwk66R Vh1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=7UaP7fpSAvejmoUQnJtHQRdOKJTRjKU7XpX0CXF1/h8=; b=uU5RWNghDhSGRQfThhjrsU4wBeoAd8XSTP+JsPzd0tW1T+9GvGWrU17m3NfwEdNsQl PXiqApRHG49dWJZaN9aKWvF6OCtqDFMtZIe9PYxu3ldjTHAL7E2vUZ8TUkEY97gkRDzc 1uwKy8IrU11lGdAlME3RRa4HCyW7JQ6J60homNZJdfvBt2rJrmBLj4Uyohy+8Dq8nqLP BSXNOKQnCgp/9ENX5Y2loNw4sbeEa1D+stsNC1XXn7wJZ/RRU1JOjhvZ2YayGxKNr+My lS1+blOoo4c67BZm5p2aT8waqu4sqkGYg/hREze2UhFVFDKMkV/xvfejUowUa6XA+4kv ge4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=edaHJ5LX; 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 20si1149294ejj.363.2021.06.17.20.34.38; Thu, 17 Jun 2021 20:35:00 -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=edaHJ5LX; 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 S231817AbhFRBxW (ORCPT + 99 others); Thu, 17 Jun 2021 21:53:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230211AbhFRBxV (ORCPT ); Thu, 17 Jun 2021 21:53:21 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6A12C061574 for ; Thu, 17 Jun 2021 18:51:11 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id r5so13728544lfr.5 for ; Thu, 17 Jun 2021 18:51:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7UaP7fpSAvejmoUQnJtHQRdOKJTRjKU7XpX0CXF1/h8=; b=edaHJ5LXCr2dEOcnGwz175/5dMvBRbZeYTk7Btle7vMoxvOA8UWlcaKY7kOy8tkXNR /zwq7afT0j7dXRPh168IaKKkrcv5jYKaGMrwXSQ0+6/pG6y4a1IhuDv+lN+jC/QMG3P9 1QpodkbjXuyW1Jy/J7pMImeNlxNRbmKrafXooJ37pk5JwOJxI1/FzQHAF5ydk1q30+Ll RnLikL8YlQ/wXbl0lhb9TlsDPOvrJq/1EHM8CXXw8nc5KtC1hwRssllzgFUeE3uz/j1N kluM+L4OxGwPD+aBJBYQPolElag09NMz1bamZIckBwZ0brZ6+11yyrn2HtzGEWhcjAaJ zGXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7UaP7fpSAvejmoUQnJtHQRdOKJTRjKU7XpX0CXF1/h8=; b=sobvzfgS452fvonnm1YYWHRLR8yRO6khvu9kXN+CntOMSQXw+WNP1QA57veBWowY7e Tdu8lSVaZOJZ1rzLK4LxveRgFZTsbyCoCSkWcuUg/5DHLYoC/Yf9mEnsxK/yKi82Xveg se+UGIJOyn7S7ig9SLrZYZcHxls0vcb/6xqgxu5y4vb6yNFL20ghMZyGddSopWWA76QU W4tTxXBTrOCv3FQMksHkwNy2wkKtoiaiM7eOzIqOcdgEslrmKLLhmA3IGNdxIKoOo+8x pHWmnn+ZKgtz8sAOsFCGD9ZzCvNNm1LNcKzeKhzdHamOzNJjb0wDqr+q87MoWXJg7rjp jwfA== X-Gm-Message-State: AOAM530rA2+31fS69TLCvw1iDccM2qOHMqipYDFyg3YPnsd36t8rcBXT omISc88gT+/CPn4yOAKoCzaJf66uWpfrDWTUyag= X-Received: by 2002:a05:6512:1683:: with SMTP id bu3mr1087899lfb.520.1623981070056; Thu, 17 Jun 2021 18:51:10 -0700 (PDT) MIME-Version: 1.0 References: <20210617150523.454965-1-sxwjean@me.com> In-Reply-To: From: Xiongwei Song Date: Fri, 18 Jun 2021 09:50:43 +0800 Message-ID: Subject: Re: [PATCH] locking/lockdep: correct the description error for check_redundant() To: Boqun Feng Cc: Xiongwei Song , peterz@infradead.org, mingo@redhat.com, will@kernel.org, longman@redhat.com, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 17, 2021 at 11:17 PM Boqun Feng wrote: > > 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 ..." Ok. Will update the patch. > > Reviewed-by: Boqun Feng Thank you. Regards, Xiongwei > > 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 > >