Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp2924060pxb; Tue, 24 Aug 2021 10:42:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzBUXYzhX5reEd22fcShGdhJ5lLlCo9s+afqfaef8v0gqE+mEJF6ceXMzl28E3+aD3HfrjL X-Received: by 2002:aa7:df03:: with SMTP id c3mr43681917edy.348.1629826971906; Tue, 24 Aug 2021 10:42:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629826971; cv=none; d=google.com; s=arc-20160816; b=thY38P6eFwjy3RTIzPZWToumwg/+QleqOJd9MlDHm0yJs5jbTw+dj+OVn4OQk4eMKH f0mFXfmlS5D/rSbeqzpOf/PCz8XehAtTTP9kmcqlc/ZAdG9P603Ko5SOjZ4nnjWcuiTb 2bodpyZ/8O7TtwyMQoYvRbFCDwSYG+gaA1tu26EU1Y/gv0ohOA746dIJyowvEPQZoVNr JXoqXifWLcbssFqd08FrpsVil+8VlAYNoBQcLy7u29kqv2SUIgZiRSjTJl5adoGw/eKg AXkJaxAXG/Q2zE4tYdn7CsiI8E7IbwObji61NUSQRZXzg1JA07wxQNxOp9yCnT8WTpic OVYg== 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=Y9/D/L99Y7bW87nn3OsTQGOSHaVJzTh2hRtdnsrIP9MjdUX3d5EoV1AvLkHqj9sfqS qttx8+xQJJV+BIhswOcocLaewqXW4CmwKWLTxoy9PWIJa0ayX+ADjhG/Ox0doUtMo2aF eFqOH0ME74pkk3O6wEUyiKS0RRNXDBaiXveoYqLJlQzGxr0AzrwuRJXjLwunsw//YqjX PgMgxoTswuWY3TQOz/RkZpsi/p9gpkvvAW3bwJfO6CanbtxZxhNCB6LgwJpe3ZSiSI5R IMKcZiunvsCIQhicPDClmHFN3JSJoBVXMhkjHs4Uh8nMpbY67x33dijysuoeVSTtaPG6 ooHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="kBhhPc/m"; 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 r21si21079850ejo.47.2021.08.24.10.42.28; Tue, 24 Aug 2021 10:42:51 -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="kBhhPc/m"; 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 S242632AbhHXRje (ORCPT + 99 others); Tue, 24 Aug 2021 13:39:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:42928 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241841AbhHXRgo (ORCPT ); Tue, 24 Aug 2021 13:36:44 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 41CA261BD1; Tue, 24 Aug 2021 17:07:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629824869; bh=a01H8wLm6Zu59H6wvkNY1oCYyOmh6w5yAlyUoKjNJkg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kBhhPc/m66LXYtcafmF9eIZgSA8e7l5t/e2UGCP+AiZY4Z171djBpG4MzxT5SjtAy cIpXGQPOLGD7fSNioSmaOQ0cVbR63oCzS5WA0Hi5CxdGj0hS3cXvcB0CvXpGOckU1B 2LSA3ggvSqsx4fp6IfclW9huU3EA+Db+9RblikhtIYoXo60cm+LZjZvnG+zRIv+mKQ EUvAifojWsWqsKOzkY+Kn6hA5h3tTS6fMJsacf2CS/y59DGeWzrsjMSrv3f/iLh2Gd Uxg2Ja8qB6oeFryjAb7iT5It9rqg02eqy3crGKguqa2ftPjBc48WRKiSJ+yJYUpFN2 Q85X9QmoIfjtg== 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.4 05/31] x86/tools: Fix objdump version check again Date: Tue, 24 Aug 2021 13:07:17 -0400 Message-Id: <20210824170743.710957-6-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210824170743.710957-1-sashal@kernel.org> References: <20210824170743.710957-1-sashal@kernel.org> MIME-Version: 1.0 X-KernelTest-Patch: http://kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.4.282-rc1.gz X-KernelTest-Tree: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git X-KernelTest-Branch: linux-4.4.y X-KernelTest-Patches: git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git X-KernelTest-Version: 4.4.282-rc1 X-KernelTest-Deadline: 2021-08-26T17:07+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