Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp2920477pxb; Tue, 24 Aug 2021 10:37:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZz+skOnDvPThY4JJT7pD4zVp1M4jOXpDZxC/ezSbFuTQUrqQjf7whITSGTOSAiuuOwXkJ X-Received: by 2002:a02:1d04:: with SMTP id 4mr34947875jaj.98.1629826657507; Tue, 24 Aug 2021 10:37:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629826657; cv=none; d=google.com; s=arc-20160816; b=ftfAbifAuqNi+uL6jm4YR/ZKn/OIPS9V/pOMbEmgYBeRmHg7uwfNDOqtf4TqxO0YLM uTNqbR/H2MpZjGE+0XZ5J2YRfbL+Li76OTMORPphQ+GG7jZvvPvIBD9LoMr/P8HHRsjL wo2JARgAyUTajr83ssQIcd+TK4/W4IrldNwtILj67ji8ltf4ow5ORa68qFsglU7lot67 cuKH7MXfNgMMadOceKdce9iNQUdfFC1yrFmxNmDFEM4HZjpOPs834F4n7h/iHJ3se3eR EYp9wFL1UivfDymGyvjRIf3Z7pxtXknGh5XnNo+PKSE9dAJ4D+HFW6qSc50QU9LBCufL rT5g== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=930WKWw+udEW0jbbX3e39eHRJv9esaG9aXEjHxh+kgM=; b=IZL5KxJIuJU0wRnC6bloTCtth+xp6axOSmv6B+cZfGbHbS0yC4bMhUW1Lng3j1zl78 nwS+Wdoq9sHqRVh1RAxqzs1BD/aZfjFTq8YvD771NGgkjfTajh4TXKhWBe9SO1/wjK1F K415HqaYhVQ4F+iUyJVIEzhWhq0pIWYPoR4C9RpsfMW5FgjLt9JLjAZ2+3CaSU0RKfY/ mDG/DW58jXcGDQZIH5F0FZh0CyzK5w0cn6oiVHEwOUWT3TKuKDYnxuQ1pv7uQ37HdvaA Oj5NzR1AkMECjrjpU6RKpSY1gdPoKZuQTCXdgoc3iAd3SvQsTm2kQVY/4bgmfYRlM2Gj e5hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="au/KiTr5"; 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 b9si17693888jar.79.2021.08.24.10.37.25; Tue, 24 Aug 2021 10:37:37 -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="au/KiTr5"; 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 S241367AbhHXRhS (ORCPT + 99 others); Tue, 24 Aug 2021 13:37:18 -0400 Received: from mail.kernel.org ([198.145.29.99]:39732 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241748AbhHXRds (ORCPT ); Tue, 24 Aug 2021 13:33:48 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4CAEC61B62; Tue, 24 Aug 2021 17:06:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629824787; bh=a01H8wLm6Zu59H6wvkNY1oCYyOmh6w5yAlyUoKjNJkg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=au/KiTr5Je2Zxxiy0V20d4Y/OQyT+Mw80e1je86TOmGihwCjUEMZTjygXEdFp50AH fqPRJ5FBjCAg4UjR+tGfdRZYUzGkizKyQhnYGxeMFHclyIx95A+fihO827I7iEWRig IXa1cCKRl4Uol4+bAJXQoYfk6CC6pYXc0X3ZI79Rf8Yk0cBePE7h6zGNjHIBa1YxQ/ r/AM0ESEZedwLvEGVo4F/d0OCrrXXQrcxpoJDm0PzbgCl8piu5uCHcGBONkD8Z/ls4 aK9sTXdTuWcs+p7fvMFHYGZSSA6cv7oPHmUmY88B+s/IS/MQPb5cmOYcp5VmExnVy3 YPYT/nKfeN9aw== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Randy Dunlap , Thomas Gleixner , Masami Hiramatsu , Sasha Levin Subject: [PATCH 4.9 10/43] x86/tools: Fix objdump version check again Date: Tue, 24 Aug 2021 13:05:41 -0400 Message-Id: <20210824170614.710813-11-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210824170614.710813-1-sashal@kernel.org> References: <20210824170614.710813-1-sashal@kernel.org> MIME-Version: 1.0 X-KernelTest-Patch: http://kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.9.281-rc1.gz X-KernelTest-Tree: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git X-KernelTest-Branch: linux-4.9.y X-KernelTest-Patches: git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git X-KernelTest-Version: 4.9.281-rc1 X-KernelTest-Deadline: 2021-08-26T17:06+00:00 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Randy Dunlap [ Upstream commit 839ad22f755132838f406751439363c07272ad87 ] Skip (omit) any version string info that is parenthesized. Warning: objdump version 15) is older than 2.19 Warning: Skipping posttest. where 'objdump -v' says: GNU objdump (GNU Binutils; SUSE Linux Enterprise 15) 2.35.1.20201123-7.18 Fixes: 8bee738bb1979 ("x86: Fix objdump version check in chkobjdump.awk for different formats.") Signed-off-by: Randy Dunlap Signed-off-by: Thomas Gleixner Reviewed-by: Masami Hiramatsu Link: https://lore.kernel.org/r/20210731000146.2720-1-rdunlap@infradead.org Signed-off-by: Sasha Levin --- arch/x86/tools/chkobjdump.awk | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/tools/chkobjdump.awk b/arch/x86/tools/chkobjdump.awk index fd1ab80be0de..a4cf678cf5c8 100644 --- a/arch/x86/tools/chkobjdump.awk +++ b/arch/x86/tools/chkobjdump.awk @@ -10,6 +10,7 @@ BEGIN { /^GNU objdump/ { verstr = "" + gsub(/\(.*\)/, ""); for (i = 3; i <= NF; i++) if (match($(i), "^[0-9]")) { verstr = $(i); -- 2.30.2