Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp910219pxb; Fri, 22 Apr 2022 14:04:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyKM9butRQVSsLsyGSSnSGT+HY9Qunb4nE5/NU1egKbdV1ADNdMf8XFFYO06nYpDl/8cV9v X-Received: by 2002:a17:903:32c6:b0:158:ded2:e766 with SMTP id i6-20020a17090332c600b00158ded2e766mr6453964plr.117.1650661497707; Fri, 22 Apr 2022 14:04:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650661497; cv=none; d=google.com; s=arc-20160816; b=NgGe/Rvx5g5GNJhtql5v7nfU1aJg7ZdD0JP5+EW5hvLY60EqA1MMrNTg4YaxVqchjj d7mR6x+KVkgZ8IAqrFt6b0MNGIGOSlb9tUAR1J+Svg2G/xh8WB4KsP0w8XhZDe2sOXy5 iE0q2h9zPLc3n64yp4qaDlmcgPvJ29a2mX+Ha/v8tYMCiHZnmc3Ht22+GO6INFvQPMrh m7aPVeUgEKYVxddrWXoCPSQxlmG7S82RK4LurNmTA7/o5PQ295NrDzJpAoaNgtG7GZAC M/Q66Qh6WptVUkXO378VW+b21BePfkki3sSvz0IbUwA/EXG2K2Y4VcgOttw/h599bCmA LJYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=lPyAV1MQK6vytVePODRh9/qduZaNhbRreAY4EBfrXMo=; b=N9Z5QifwAkGuIXGwi7/0AOTB3g4IhTM/AvhUPoGI1dVgn8ND0sd163lVoUS280egyh azJF0GIpf/V+cRat2Rqzv4RK4qZlhhWhRTfst/MPHSUxtldBtCWVN1ibNijHGdZH8nkP Ya7GHRYGk3KGcGXFW+K8PD+2mxLQ/0Hy/RIjWwCPyAFio1fmbGIT3K+lwdjuDoVmGvr2 9s54fsJleo38nt3XlfUqNPGEESH+FRSnHPhieW0vbIUAvcpiYPKC/zjK8deNnJr4k/Cm dpJNimJQ00guFQCbCdZbITXizf4cQBguL2aJ7JVeMEO6d3r8A3ANgQqi7nm/jB/5H2KV Ej9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="Bk6NK/IZ"; dkim=neutral (no key) header.i=@linutronix.de; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id e38-20020a635466000000b003aa3a946eeesi9465322pgm.217.2022.04.22.14.04.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 14:04:57 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="Bk6NK/IZ"; dkim=neutral (no key) header.i=@linutronix.de; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 11D842360E0; Fri, 22 Apr 2022 13:01:30 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1446627AbiDVKix (ORCPT + 99 others); Fri, 22 Apr 2022 06:38:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1446708AbiDVKiC (ORCPT ); Fri, 22 Apr 2022 06:38:02 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E09A7674; Fri, 22 Apr 2022 03:35:09 -0700 (PDT) Date: Fri, 22 Apr 2022 10:35:07 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1650623708; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lPyAV1MQK6vytVePODRh9/qduZaNhbRreAY4EBfrXMo=; b=Bk6NK/IZZElXoI7TNmU7qmjKqg167m1LcrY6KFzckexRj1rZQ7PV3vmGhAPM7w9qAiaNDZ VgoosgITDn5QEeWgR7IX59ms4ZpzzidDaF0TNvyv/99FM5A3eQkZoVoEb1Yy1m3M7O03Ns tk6seCB/2BGjZjyihlHwuMrfQ2eoMc9BcwsefhsGqiZMuhytzjHurhiXDCmYyG0WFku3+r SS9QB2Fk9VRrzPSNbgArjFXVSOXE671NY82mETguPOObgV1TEuljKGD83Z2MB0UZw/eIiH dYKCCbgPhGw2NrLWmEv37qApszGfCL3X/qkhKKRRwmfQf2rneJu4Kc6ltI02YQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1650623708; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lPyAV1MQK6vytVePODRh9/qduZaNhbRreAY4EBfrXMo=; b=r4fYhqEwlkOMy5Eb5nH/gV6qwLaQNeJ6QOFO1wnNH8aj7msCpdn/c3+GBZE7ldUWQ2IYhW 3SC3FJxOMZgwjoBQ== From: "tip-bot2 for Josh Poimboeuf" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: objtool/core] objtool: Don't print parentheses in function addresses Cc: Peter Zijlstra , Josh Poimboeuf , Miroslav Benes , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: References: MIME-Version: 1.0 Message-ID: <165062370707.4207.3964620644535103680.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the objtool/core branch of tip: Commit-ID: 2bc3dec7055e34c2c2e497f109da6748544c0791 Gitweb: https://git.kernel.org/tip/2bc3dec7055e34c2c2e497f109da6748544c0791 Author: Josh Poimboeuf AuthorDate: Mon, 18 Apr 2022 09:50:28 -07:00 Committer: Peter Zijlstra CommitterDate: Fri, 22 Apr 2022 12:32:02 +02:00 objtool: Don't print parentheses in function addresses The parentheses in the "func()+off" address output are inconsistent with how the kernel prints function addresses, breaking Peter's scripts. Remove them. Suggested-by: Peter Zijlstra Signed-off-by: Josh Poimboeuf Signed-off-by: Peter Zijlstra (Intel) Reviewed-by: Miroslav Benes Link: https://lkml.kernel.org/r/f2bec70312f62ef4f1ea21c134d9def627182ad3.1650300597.git.jpoimboe@redhat.com --- tools/objtool/include/objtool/warn.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tools/objtool/include/objtool/warn.h b/tools/objtool/include/objtool/warn.h index 802cfda..c4bde3e 100644 --- a/tools/objtool/include/objtool/warn.h +++ b/tools/objtool/include/objtool/warn.h @@ -33,11 +33,7 @@ static inline char *offstr(struct section *sec, unsigned long offset) } str = malloc(strlen(name) + 20); - - if (func) - sprintf(str, "%s()+0x%lx", name, name_off); - else - sprintf(str, "%s+0x%lx", name, name_off); + sprintf(str, "%s+0x%lx", name, name_off); return str; }