Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp130687pxb; Thu, 30 Sep 2021 02:42:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxHq98aaLv6YaU4oN808ytr6YP2WXPPOkXTF/9Ap4RJqAPB0KAn/KWkFtzc02rCxRrZWYq1 X-Received: by 2002:a17:90b:3805:: with SMTP id mq5mr5422813pjb.7.1632994936554; Thu, 30 Sep 2021 02:42:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632994936; cv=none; d=google.com; s=arc-20160816; b=p0pcPouQC2P42W/rsLkQUbjFvmTxw1zCN7W6BPqch8Q67yQjwcSuajd9wbdKmGsMrM MQtKJdSQYJzGbinCtnx4cnMdhEk1VpXM+32oBmk62k+PfVWq65SWGHL0mSoUtl6F8MEf aNlKgShKhMNK0yHXk84y/w8nMuB85HWcA+L1HPIqvXVVwxVvDuf8KJ1wsFPgXfc3SYAj PsjzAlv+64DvrER+EDPSeadmUpPNb8qW4nFJNtRNLNaKMALwZ21ZnTxu19dmMrkHR56e 85QVFnUk9r2q1p0xukQZu2gBuerU7fs9igSTRR0Ie6k93wF/Cajm5cBKGOsuT23Dvpkj KdoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=b95H29Xy0rykUW2EF5d0NIOTG/66gGFRdp6UBwI3PA0=; b=OVmAlE0O5+nD9k0JcwrF4a1Aj+cGMhO6cpi/KUeIl4FHcAmGzpCC/TkBSNERgGKu0R ri4k6Rgn841ur0jDpGAQuUhTtiWNkZRJXCJmuwFUOVdDiu6QhbXGGr8YeXBpz91rlfiw v08nAygrvP8PIWkLZgynWhBTL0LZG70fwi8QogLuxjLDWXco2IPI/WaTzQuOOSYlDL8i yo9liwBfUb/mZBA2ebLSgIaOOlE27eXwgvD3EUNbYWqJSyirgzutZe9hJwipiMaC9pNJ Fm2g3D0o+Fe/QxjCdC7S4L5hAYvfth2ef5XJFzt7zh/dVxDfM3xwpnJzKBlkvjp22DaP Barg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="POhzjXJ/"; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 11si2782657pje.76.2021.09.30.02.42.03; Thu, 30 Sep 2021 02:42:16 -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=@kernel.org header.s=k20201202 header.b="POhzjXJ/"; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349502AbhI3Jlw (ORCPT + 99 others); Thu, 30 Sep 2021 05:41:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:41010 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235763AbhI3Jls (ORCPT ); Thu, 30 Sep 2021 05:41:48 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id B22F861528; Thu, 30 Sep 2021 09:40:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632994805; bh=wOt9jZmhTVjWjdolsLlR9yYRuRFJaVnlaBXOLwXCd+Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=POhzjXJ/HgDLDn/ghqUQ79hWlqi378PpzsW3R/DoDMNpbqemv2gQT/IoD/OO11ITD U2jD7xx/5hqQ4rxy7CrZK+9wVOEl5NrNkrM1r1LtovDcDWdxj/0LZQAq4vSbGfNi+x O2CctveX0iITipzCiP8iwFyq9YffWcbFbBsA+QJpBJHHfx+me4BYlajd9+vjCZEJcj AFcKfoM6IHrJ8yB4066PDIEUUIkfYxHv54HivyTVGTXSCHDhWD74V4ZeCdkpq8KPMW cObRmjanxS6AHUcnGMn+WI6L5ggxpD8YrJUZVzzQ98KZVLx60OpwMSl03zHAN3BS4J HjG5jA+B0Hwmg== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1mVsXr-002AEu-L6; Thu, 30 Sep 2021 11:40:03 +0200 From: Mauro Carvalho Chehab To: Greg Kroah-Hartman , Linux Doc Mailing List Cc: Mauro Carvalho Chehab , "Jonathan Corbet" , linux-kernel@vger.kernel.org Subject: [PATCH 1/2] scripts: get_abi.pl: fix fallback rule for undefined symbols Date: Thu, 30 Sep 2021 11:39:59 +0200 Message-Id: X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The rule that falls back to the long regex list is wrong: it is just running again the same loop it did before. change it to look at the "others" table. That slows the processing speed, but provides a better list of undefined symbols. Signed-off-by: Mauro Carvalho Chehab --- To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH 0/2] at: https://lore.kernel.org/all/cover.1632994565.git.mchehab+huawei@kernel.org/ scripts/get_abi.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/get_abi.pl b/scripts/get_abi.pl index d32dcd7cca5d..2f3674bb3c9e 100755 --- a/scripts/get_abi.pl +++ b/scripts/get_abi.pl @@ -746,7 +746,7 @@ sub check_file($$) } if ($leave ne "others") { - my @expr = @{$leaf{$leave}->{expr}}; + my @expr = @{$leaf{"others"}->{expr}}; for (my $i = 0; $i < @names; $i++) { foreach my $re (@expr) { print STDERR "$names[$i] =~ /^$re\$/\n" if ($debug && $dbg_undefined); -- 2.31.1