Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2139957imm; Thu, 14 Jun 2018 09:19:31 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLSJk8ibib2svqR9XvvisUrjtTfDmicpjGMCrc17BvEixsjtWWWyGLlyk84/C7/D4PHaspv X-Received: by 2002:a63:648:: with SMTP id 69-v6mr2890189pgg.205.1528993171543; Thu, 14 Jun 2018 09:19:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528993171; cv=none; d=google.com; s=arc-20160816; b=eZ7GaK+wnI2/SBKB/0zNC7XyJU1LX4NlOyWCQCV41LJ9YfavjPUnLDm7novU04xejC hRFMqJz9niN+ZCo2RAOJE9Jvccx3aIuz3RAX8RjcH/YrD0Bx6tpOdykIlwgbeW3opeDs oNVFgnndlIeBv211mTLLuHT604SEbpsxQrEQ2UE7EHXn62sJ4gDBVO/+L7a7vYdSLif9 lfCNQCPoYbVBp1GsQvN0sQf90UnFhr7aIbJJHY8Q4LQPMC+HG0VKR4czoDAxf3OJ2ZnS NoHBJTo53MxBkmyIHRLZnMqahA32JI/RCRTEUPsa/NpQA8kY62WH0RSV6wwxWRTmHHcI 6HAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=wiLGW0t0WLLkvatgbkb6+Fn+afMPy9XUS1PhWcfHu/Q=; b=jQZMfSJnxi0MulpBZTHl78JYtUfku21ifXWod+Qnfv2/4I4fT5dFWrnwv/aYfyM1Xd Knujgae8CUupbCbBokXYXPLcn9XmzsQbV+SVJT19x5REfS0ePfHOu+DyrRTUyu2YzxCo mfqIjutXy61UrKTnF5g/+CWf33ZviTd5BgMdQx1f6wkwT3aMzVunRxhakyOp4FtgTOwY brcnmQSJQOGy1pwPNQkF2/rvFuc1gq5+F6ZrqiwmXHVkVfhVD6ozh4wCPV52ppTDz02G 7GyYd6lrElkmxtcBZm+sPwn6yAz6G9L0XQLA5PP263K+BFvWvI72waLqpjH8El6PtZJX G5PQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g17-v6si6043336pfj.283.2018.06.14.09.19.16; Thu, 14 Jun 2018 09:19:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755401AbeFNQRB (ORCPT + 99 others); Thu, 14 Jun 2018 12:17:01 -0400 Received: from osg.samsung.com ([64.30.133.232]:36371 "EHLO osg.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755387AbeFNQJU (ORCPT ); Thu, 14 Jun 2018 12:09:20 -0400 Received: from localhost (localhost [127.0.0.1]) by osg.samsung.com (Postfix) with ESMTP id D114720EED; Thu, 14 Jun 2018 09:09:19 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at dev.s-opensource.com X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from osg.samsung.com ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TxihIm8uO320; Thu, 14 Jun 2018 09:09:19 -0700 (PDT) Received: from smtp.s-opensource.com (177.41.114.220.dynamic.adsl.gvt.net.br [177.41.114.220]) by osg.samsung.com (Postfix) with ESMTPSA id 7721A20E9F; Thu, 14 Jun 2018 09:09:16 -0700 (PDT) Received: from mchehab by smtp.s-opensource.com with local (Exim 4.91) (envelope-from ) id 1fTUoE-0005Sn-4i; Thu, 14 Jun 2018 13:09:14 -0300 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet Subject: [PATCH v3 11/27] scripts/documentation-file-ref-check: accept more wildcards at filenames Date: Thu, 14 Jun 2018 13:08:56 -0300 Message-Id: <819144435833806fadfbe4b24c9826d89436c906.1528990947.git.mchehab+samsung@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org at MAINTAINERS, some filename paths use '?' and things like [7,9]. So, accept more wildcards, in order to avoid false-positives. Signed-off-by: Mauro Carvalho Chehab --- scripts/documentation-file-ref-check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/documentation-file-ref-check b/scripts/documentation-file-ref-check index 9e7ae14080aa..9d5e21b10346 100755 --- a/scripts/documentation-file-ref-check +++ b/scripts/documentation-file-ref-check @@ -43,7 +43,7 @@ while () { # Skip this script next if ($f eq $scriptname); - if ($ln =~ m,\b(\S*)(Documentation/[A-Za-z0-9\_\.\,\~/\*+-]*),) { + if ($ln =~ m,\b(\S*)(Documentation/[A-Za-z0-9\_\.\,\~/\*\[\]\?+-]*),) { my $prefix = $1; my $ref = $2; my $base = $2; -- 2.17.1