From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 80C79C433E0 for ; Wed, 10 Feb 2021 12:44:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2664564E05 for ; Wed, 10 Feb 2021 12:44:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229710AbhBJMoZ (ORCPT ); Wed, 10 Feb 2021 07:44:25 -0500 Received: from smtprelay0159.hostedemail.com ([216.40.44.159]:55870 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S231171AbhBJMlV (ORCPT ); Wed, 10 Feb 2021 07:41:21 -0500 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay03.hostedemail.com (Postfix) with ESMTP id 93014837F24A; Wed, 10 Feb 2021 12:40:39 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-HE-Tag: honey21_32078fe27610 X-Filterd-Recvd-Size: 2048 Received: from [192.168.1.159] (unknown [47.151.137.21]) (Authenticated sender: joe@perches.com) by omf03.hostedemail.com (Postfix) with ESMTPA; Wed, 10 Feb 2021 12:40:38 +0000 (UTC) Message-ID: Subject: Re: [PATCH 2/2] checkpatch: Don't check for mutex_trylock_recursive() From: Joe Perches To: Sebastian Andrzej Siewior , linux-kernel@vger.kernel.org Cc: Peter Zijlstra , Ingo Molnar , Will Deacon , Andy Whitcroft , Thomas Gleixner Date: Wed, 10 Feb 2021 04:40:37 -0800 In-Reply-To: <20210210085248.219210-3-bigeasy@linutronix.de> References: <20210210085248.219210-1-bigeasy@linutronix.de> <20210210085248.219210-3-bigeasy@linutronix.de> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.38.1-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2021-02-10 at 09:52 +0100, Sebastian Andrzej Siewior wrote: > mutex_trylock_recursive() has been removed from the tree, there is no > need to check for it. > > Remove traces of mutex_trylock_recursive()'s existence. Yay. Assuming patch 1 is applied, thanks. > > Signed-off-by: Sebastian Andrzej Siewior > --- >  scripts/checkpatch.pl | 6 ------ >  1 file changed, 6 deletions(-) > > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl > index 1afe3af1cc097..4b2775fd31d9d 100755 > --- a/scripts/checkpatch.pl > +++ b/scripts/checkpatch.pl > @@ -7062,12 +7062,6 @@ sub process { >   } >   } >   > > -# check for mutex_trylock_recursive usage > - if ($line =~ /mutex_trylock_recursive/) { > - ERROR("LOCKING", > - "recursive locking is bad, do not use this ever.\n" . $herecurr); > - } > - >  # check for lockdep_set_novalidate_class >   if ($line =~ /^.\s*lockdep_set_novalidate_class\s*\(/ || >   $line =~ /__lockdep_no_validate__\s*\)/ ) {