Message ID | 169813756572.3135.10008415743628852325.tip-bot2@tip-bot2 |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce89:0:b0:403:3b70:6f57 with SMTP id p9csp1805624vqx; Tue, 24 Oct 2023 01:53:38 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFhxRgC1PA2NdHComnt/vvE8B0rrrZlpOtu5l7SDacK1grX8T9AHm8OAthDQpvKrO/R+Ooq X-Received: by 2002:a05:6a20:c102:b0:15c:b7ba:ea44 with SMTP id bh2-20020a056a20c10200b0015cb7baea44mr1781113pzb.60.1698137618393; Tue, 24 Oct 2023 01:53:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698137618; cv=none; d=google.com; s=arc-20160816; b=YdJ6yCkgUW01rV7iDXNXqGLTHQGRZc+uN48N1yTDg39GAoUHqD1X3mtsRZMlBeYSWQ OyPRB2pKCbbYWwLPRocsIcJB7Gz+oS2TvEbJ7SiHnLfaEN4THVxsvw4OAtMnD/i+2/6Q pF171GJ3VvgvVzG+4+bU3fsPjZyWvry/YQtp64UF9Iun9nDLfyHELdfK3dTc3zCGeZr/ WsPkGYOmXs7kDE2KUhsZmUyAtGRpf8XgeVbb3dW09uF3AAfXyeNmUqCRHBOAE2Vc4hz/ xuSVswI3xJVAMMQOy96phD+9Qv1I8C/8Dxv8fvJj74ZrxrIe75TDZzdGwQm4PsNJteU/ RfNw== 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=Pe8R6tL57OmCbabwVfsjoHgMDSqyr8YzIfgc2ok6lis=; fh=Ss9aHFYxoks5hmE4AcxF0JK9jjHQKcamnQywq3nEuQw=; b=Lazd2ml0w2jzzlfaK5xG/hRcTycaIAN774Ae43V05JklYtrWJr0n2pDTKiI787BQ3a WDHEtr2gKDb6BWVt5XcHwH3Xj0KMfvGU73419jG/sapfHeHrZlPvYOG365SRG8lTWFuN s7oT38jGl8ysD4VcZ2iyLNdZPTP/RRsDzNQQZNiLqk+I0o9yHOpQTPeeQLWbI3YxAF/W j6FjXU+JruosVl5PWethA9jnnDuENjcXVdb78r81fW3I1zRTh9CfxoVcWdF2OfZZTMft sg98qXP16mD0IkNmoJk80zhpdF6x/e805atyWiLKh67nMVP2hD94/ttZhBCG7eWhmN35 JDMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=jpA+oeNt; dkim=neutral (no key) header.i=@linutronix.de header.b=h6W66AFt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id ip8-20020a17090b314800b002776a60ea68si8410874pjb.1.2023.10.24.01.53.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 01:53:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=jpA+oeNt; dkim=neutral (no key) header.i=@linutronix.de header.b=h6W66AFt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id DF692804756D; Tue, 24 Oct 2023 01:53:35 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233977AbjJXIxY (ORCPT <rfc822;a1648639935@gmail.com> + 26 others); Tue, 24 Oct 2023 04:53:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234089AbjJXIxE (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 24 Oct 2023 04:53:04 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18BFA1734; Tue, 24 Oct 2023 01:52:47 -0700 (PDT) Date: Tue, 24 Oct 2023 08:52:45 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1698137566; 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=Pe8R6tL57OmCbabwVfsjoHgMDSqyr8YzIfgc2ok6lis=; b=jpA+oeNtcblDgDLtEEnWh84yO8nGthWce3K0Vzc4iylQ+ARW2EswUd5JmNOHHIeEapuIge HYckkMqc48ggJkuo4kXoQGw/6aHDphSsrlYbSXEA8UlpG84YNFTfpdjm2L5HvDU+34j6O+ xbdYmRGU1mzJCnLGCg8zzymH2AwJuO+N27vat+XxwyZHpsJNsikRf7oOkR6V/m6Oag40S4 57dLgzlocJNNnTAIvXEK0PGj+Tt+/a4I3dNcyP6Tvz5IRYUBbkxrTBdB7wTnIf41TTnKM7 l9TJ2X+wdDh8NpiL9T/i+RFSCFEOrVUpU8ks1s9yX7DLgItcCCwnxL7QlctK0Q== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1698137566; 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=Pe8R6tL57OmCbabwVfsjoHgMDSqyr8YzIfgc2ok6lis=; b=h6W66AFtUD4w6UlENqo1KAS9J2joEYxMLIRW+tBsEZyWU0ekLrxR4tqWAcYnjhJSjWK6om jj6vmdpA3UtQe9BQ== From: "tip-bot2 for Aaron Plattner" <tip-bot2@linutronix.de> Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: objtool/core] objtool: Propagate early errors Cc: Aaron Plattner <aplattner@nvidia.com>, Josh Poimboeuf <jpoimboe@kernel.org>, x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: =?utf-8?q?=3Ccb6a28832d24b2ebfafd26da9abb95f874c83045=2E1696355?= =?utf-8?q?111=2Egit=2Eaplattner=40nvidia=2Ecom=3E?= References: =?utf-8?q?=3Ccb6a28832d24b2ebfafd26da9abb95f874c83045=2E16963551?= =?utf-8?q?11=2Egit=2Eaplattner=40nvidia=2Ecom=3E?= MIME-Version: 1.0 Message-ID: <169813756572.3135.10008415743628852325.tip-bot2@tip-bot2> Robot-ID: <tip-bot2@linutronix.de> Robot-Unsubscribe: Contact <mailto:tglx@linutronix.de> to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 24 Oct 2023 01:53:35 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780626350859071151 X-GMAIL-MSGID: 1780626350859071151 |
Series |
[tip:,objtool/core] objtool: Propagate early errors
|
|
Commit Message
tip-bot2 for Thomas Gleixner
Oct. 24, 2023, 8:52 a.m. UTC
The following commit has been merged into the objtool/core branch of tip: Commit-ID: e959c279d391c10b35ce300fb4b0fe3b98e86bd2 Gitweb: https://git.kernel.org/tip/e959c279d391c10b35ce300fb4b0fe3b98e86bd2 Author: Aaron Plattner <aplattner@nvidia.com> AuthorDate: Wed, 04 Oct 2023 17:08:18 -07:00 Committer: Josh Poimboeuf <jpoimboe@kernel.org> CommitterDate: Thu, 05 Oct 2023 17:01:11 -07:00 objtool: Propagate early errors If objtool runs into a problem that causes it to exit early, the overall tool still returns a status code of 0, which causes the build to continue as if nothing went wrong. Note this only affects early errors, as later errors are still ignored by check(). Fixes: b51277eb9775 ("objtool: Ditch subcommands") Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Link: https://lore.kernel.org/r/cb6a28832d24b2ebfafd26da9abb95f874c83045.1696355111.git.aplattner@nvidia.com Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org> --- tools/objtool/objtool.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/tools/objtool/objtool.c b/tools/objtool/objtool.c index c54f723..f40febd 100644 --- a/tools/objtool/objtool.c +++ b/tools/objtool/objtool.c @@ -146,7 +146,5 @@ int main(int argc, const char **argv) exec_cmd_init("objtool", UNUSED, UNUSED, UNUSED); pager_init(UNUSED); - objtool_run(argc, argv); - - return 0; + return objtool_run(argc, argv); }