Message ID | 20210131235508.27185-1-xypron.glpk@gmx.de |
---|---|
State | Rejected, archived |
Delegated to: | Simon Glass |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=gmx.net header.i=@gmx.net header.a=rsa-sha256 header.s=badeba3b8450 header.b=Qnhh/oAy; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DTSd90f60z9t1D for <incoming@patchwork.ozlabs.org>; Mon, 1 Feb 2021 10:55:29 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AF44A82483; Mon, 1 Feb 2021 00:55:18 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=gmx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; secure) header.d=gmx.net header.i=@gmx.net header.b="Qnhh/oAy"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 413A582603; Mon, 1 Feb 2021 00:55:17 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 9DFF98240E for <u-boot@lists.denx.de>; Mon, 1 Feb 2021 00:55:14 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=xypron.glpk@gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1612137313; bh=m1vic4I4NgBk0qr28oXpYuzMhxVI9x8s74TITbz0uDg=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=Qnhh/oAyIYRtG49FzEfgynxQGe/F0BHvSsgYJ0864Kc0QFIEnQxjFtAgOn0GeSymo QbSlC6YY6r70Hal5THJh8blExGmb2TFmQf0fj047oh87DCp1u2XXZj0WPRrCd65lSH +P6vMu0EQQU1ctZ0ULGQcdpWwKlLodIzHrcXMOpY= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from LT02.fritz.box ([62.143.246.89]) by mail.gmx.net (mrgmx005 [212.227.17.184]) with ESMTPSA (Nemesis) id 1N8XPn-1m1P5U2pPd-014TXJ; Mon, 01 Feb 2021 00:55:13 +0100 From: Heinrich Schuchardt <xypron.glpk@gmx.de> To: Simon Glass <sjg@chromium.org> Cc: u-boot@lists.denx.de, Heinrich Schuchardt <xypron.glpk@gmx.de> Subject: [PATCH 1/1] sandbox: mark os_abort() as __noreturn Date: Mon, 1 Feb 2021 00:55:08 +0100 Message-Id: <20210131235508.27185-1-xypron.glpk@gmx.de> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X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ZSO7Z0p3hvzIPm D04q5RKWrWnj/ER3LCRmdas/+3RfLPBQWkJME/aT54xmad2uxrjEvacmLbpqggnfxz1TQKUqi uXma1g2PP04h9KtzOogA== X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean |
Series |
[1/1] sandbox: mark os_abort() as __noreturn
|
expand
|
diff --git a/include/os.h b/include/os.h index e192e32d59..8de802cab0 100644 --- a/include/os.h +++ b/include/os.h @@ -341,7 +341,7 @@ void os_localtime(struct rtc_time *rt); /** * os_abort() - raise SIGABRT to exit sandbox (e.g. to debugger) */ -void os_abort(void); +void __noreturn os_abort(void); /** * os_mprotect_allow() - Remove write-protection on a region of memory
gcc -fanalyzer needs the information that a function does not return to provide accurate information. os_abort() does not return. Mark it accordingly. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> --- include/os.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.29.2