Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp688566pxj; Thu, 17 Jun 2021 11:26:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynxpmNdN2YTpm/e6P8+MDcRDIc3ahX1MOVC48Wwakad+zEy/GYA1b/OX7Ko1UbKUoQliSX X-Received: by 2002:a17:906:488a:: with SMTP id v10mr6626267ejq.383.1623954363238; Thu, 17 Jun 2021 11:26:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623954363; cv=none; d=google.com; s=arc-20160816; b=Koeca33Lgs54r3MxeLR+gcxqa4jEJaN7lof8D7WETw25cfoX5PU6+m4DH5V1fJu4G9 9JjBsAOL+LklfCbhpjKGvrWII2As91ay/q+NoYLAevP3UVeEm5pfoDehBIxd4ghVp74f FoaNimsbirSPvZP8klpMyfr5vtvg0D+BrmMA69Kb1sZe9DPAP2jJs7bcDuQpPQ8me+k1 YPxi2+z5P8B2Uc3Yi1zZEqMeLGiaLc2bxzO8ODN3miHL0qknly2Zs5lVCYREoSIt1oHp 8kBFq4qb+cKC3tP3Z3373ADEgX0XadrypEvVFwGiqOICRQBr+3PqSZdSDm/FKMdWMwZZ tYnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=sbpr7pTnQ+UXVVLcsU5mLj6Dl52CAls13Z+HWM/69w8=; b=qQcObnqfy/gcZmv+H8DP6VthEX2GgbdyxDx4nRutwULL+/YyztLWLn/LBFoT9Cg4xx A9fo7E69gvUF3Bq1aNVXL2Ji+VLE4gsk7XaFLGMuzqwxAyg4TzvGmmONLdfzVl4+7RBm ZgsmaNaqK4/rmFHxXuvcEXTdybpSVJ+LBpptmpXYqWnO4/5DRwryGuPJAhRtUUVoNXfI 0HG2HJBse1YoHs36QpUaOI94bZn5vpNmKLZYb3Ruj7Af9ACG1uutJ9+7HHXbe3g9Bt1n sSpf040pUu6RX2P4bONVBZRGLdW7NNrCUdkByzAp6gr4pDfvsH4fWC9ZD+6Z1DbfmB5o xlOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@me.com header.s=1a1hai header.b=K0k3mjHR; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dz18si6235472edb.566.2021.06.17.11.25.41; Thu, 17 Jun 2021 11:26:03 -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=@me.com header.s=1a1hai header.b=K0k3mjHR; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232897AbhFQPHp (ORCPT + 99 others); Thu, 17 Jun 2021 11:07:45 -0400 Received: from pv50p00im-ztdg10011201.me.com ([17.58.6.39]:35721 "EHLO pv50p00im-ztdg10011201.me.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231712AbhFQPHo (ORCPT ); Thu, 17 Jun 2021 11:07:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1623942336; bh=sbpr7pTnQ+UXVVLcsU5mLj6Dl52CAls13Z+HWM/69w8=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=K0k3mjHRWeulvVqrSnaMfZpiaHxu4nZ1tPf0yQxrh5QUtygwEb6YeQvhcjg1QPTn0 XqTk8cDxNV7NspGA5s+xFCxqWfQLBjlBP1jBXFkXlBT1uQVVq1w+0ah8hkxLtGJ2v0 pHovor2bHgWoYHvacnuvvDqgk5yvg1rVEHtIh8zIIt1rHsFZ0NfpEFinw+w4na2nOT J0MVRueAXIGsG4W+pFN+Hao5rpBBcQ6kDIey7wSa6PxmmMyRxFbAzbXo9iNuRWRHcU +8l+b8DiTcgAVA2SP6/5/u9VT8TxuOMbYSMLBqc26F0Sge1zTObXz3xlI0eFMhH3ki H0KX/t3OQ55UA== Received: from xiongwei.. (unknown [120.245.2.120]) by pv50p00im-ztdg10011201.me.com (Postfix) with ESMTPSA id C21922A02CF; Thu, 17 Jun 2021 15:05:32 +0000 (UTC) From: Xiongwei Song To: peterz@infradead.org, mingo@redhat.com, will@kernel.org, longman@redhat.com, boqun.feng@gmail.com Cc: linux-kernel@vger.kernel.org, Xiongwei Song Subject: [PATCH] locking/lockdep: correct the description error for check_redundant() Date: Thu, 17 Jun 2021 23:05:23 +0800 Message-Id: <20210617150523.454965-1-sxwjean@me.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.790 definitions=2021-06-17_14:2021-06-15,2021-06-17 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 mlxscore=0 mlxlogscore=742 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2009150000 definitions=main-2106170097 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Xiongwei Song If there is no matched result, check_redundant() will return BFS_RNOMATCH. Signed-off-by: Xiongwei Song --- 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