Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2665012rwd; Fri, 2 Jun 2023 12:45:45 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4CcXTCo4cFwm6MgwMWMrbVpvl+fGMlrxEesTSVCOCC225eev5TGg8+dpW5szSAQKXFAj8K X-Received: by 2002:a05:6a20:4284:b0:110:9b0b:71b6 with SMTP id o4-20020a056a20428400b001109b0b71b6mr16604935pzj.37.1685735145632; Fri, 02 Jun 2023 12:45:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685735145; cv=none; d=google.com; s=arc-20160816; b=YB5fsP2kqBG2g0RKQmh3lxIeOCdQMc1Gan7s+LMZkupcdYL5s7a4sFNjPjn4Sv7m3J 00kWrqfpNUV3Tk+6/xvdAMzGGAqNMtB7mABzx1mMAXOBb3dmS4ccCYTeVIwoBPUXGJGy MDxzk/ZHKYfsNp0c6phiMxwe4aEsgG3C2or9cHKcTCdpJI7FmOMMCdWbymGPxZrfEBNt keg6fRM9ipXw4GiQecfeZeKxZhwr6k4aGzqIrdCvu7RSdGJlaame99sBnhup2IDofBut /3ioBnLYX9OxPvnxOJm1q7OFlRq1FiL0MzzZkw5+010imjRdG0TGPG8VLH4+eympSNVl Xp9g== 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=ThsPPSvvi0NQuDbE3V2XkRsox2z+4m2CiOPtkRH1F7w=; b=0RQ8le5w40N/JjWl8QfItg01ueNFnBfRALJ3svo2dUkbNa6kaEiQAuyug8k7xyuryp Qm9bz8uEE0ak0ThjhXgT+ps4vP237fJNy3cXTEAnTTb+AjkI2nQd5TExNW8ndzH47WZm zljc2ce0vg3tZAZxXcu4Y8MqxeI4LSv+6mmasrMobdUdqg+sNL9QrjS66eOB+UrW4ohQ tfMCzAQa31U6fA5nZES3B4t/+hj45PytiRE705+pmc9bC+i8IAgh2iggyif3yatKf1ar fbnsrBgIKs+SybsTt3eUq7kTtfSuzuni/V0562azS4LSC95QV6qP1IBIsX8EyeJkuzkK w9Rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=PyxJvpgr; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=qAqjZDru; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f10-20020a63de0a000000b0053febd41e7esi1488699pgg.380.2023.06.02.12.45.32; Fri, 02 Jun 2023 12:45:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=PyxJvpgr; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=qAqjZDru; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236089AbjFBTWV (ORCPT + 99 others); Fri, 2 Jun 2023 15:22:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237200AbjFBTWT (ORCPT ); Fri, 2 Jun 2023 15:22:19 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B093D1BC; Fri, 2 Jun 2023 12:22:08 -0700 (PDT) Date: Fri, 02 Jun 2023 19:22:06 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1685733726; 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=ThsPPSvvi0NQuDbE3V2XkRsox2z+4m2CiOPtkRH1F7w=; b=PyxJvpgrfSc+7RQ+v9un/vJOraVQL5Wj49KBWiagvT+LfqxbJCKpbd4QEKI6pBa0S3RgGI 1B1WRV3TkdlDkBaMhKczjBQbHBI1WXrXUF6bDc2sU/oAUsKKXjJWUK49gXCP1ChFyzwbMd bWse7C3qA6jzIdgb35OAzsredZqRA81IVHH1t815UloN4JIdIKSVc4Bgtq+3xnvBaoZlOn PkqYULmLDAAQ23lYlMXzazRTYx8PawTBXiot6huh6XnHFm6ox8RyFHAJAMa0bEyOB2tuB/ oM6Ut59fdaiLQNuYkEjU+d7HQtLll8mk3zjzGzxnbGIrwkGqxh/6dTOljAXg6Q== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1685733726; 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=ThsPPSvvi0NQuDbE3V2XkRsox2z+4m2CiOPtkRH1F7w=; b=qAqjZDruE0UXn2lqVEHDwTiOWV1JwVjiiFfhCY4jUA5FACpr/k7F0snb+GuWf7Cy/8obty 2guLfndcUNMSg8DQ== 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: Add __kunit_abort() to noreturns Cc: Stephen Rothwell , Josh Poimboeuf , "Peter Zijlstra (Intel)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230602175453.swsn3ehyochtwkhy@treble> References: <20230602175453.swsn3ehyochtwkhy@treble> MIME-Version: 1.0 Message-ID: <168573372607.404.6955816775416345418.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=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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: ff9a6459bbec06df7da2545020d7383aba13b3fb Gitweb: https://git.kernel.org/tip/ff9a6459bbec06df7da2545020d7383aba13b3fb Author: Josh Poimboeuf AuthorDate: Fri, 02 Jun 2023 10:54:53 -07:00 Committer: Peter Zijlstra CommitterDate: Fri, 02 Jun 2023 21:12:24 +02:00 objtool: Add __kunit_abort() to noreturns Fixes a bunch of warnings like: drivers/input/tests/input_test.o: warning: objtool: input_test_init+0x1cb: stack state mismatch: cfa1=4+64 cfa2=4+56 lib/kunit/kunit-test.o: warning: objtool: kunit_log_newline_test+0xfb: return with modified stack frame ... Fixes: 260755184cbd ("kunit: Move kunit_abort() call out of kunit_do_failed_assertion()") Reported-by: Stephen Rothwell Signed-off-by: Josh Poimboeuf Signed-off-by: Peter Zijlstra (Intel) Link: https://lkml.kernel.org/r/20230602175453.swsn3ehyochtwkhy@treble --- tools/objtool/noreturns.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/objtool/noreturns.h b/tools/objtool/noreturns.h index cede606..1514e84 100644 --- a/tools/objtool/noreturns.h +++ b/tools/objtool/noreturns.h @@ -7,6 +7,7 @@ * Yes, this is unfortunate. A better solution is in the works. */ NORETURN(__invalid_creds) +NORETURN(__kunit_abort) NORETURN(__module_put_and_kthread_exit) NORETURN(__reiserfs_panic) NORETURN(__stack_chk_fail)