From patchwork Fri Feb 2 16:21:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 126750 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp785838ljc; Fri, 2 Feb 2018 08:22:12 -0800 (PST) X-Google-Smtp-Source: AH8x225EAZf8Y5dgtqx63LuK7LmKRBk/32CV9bQXbuXooebdYR89xF2LMr4phN7ePVblGx04efKT X-Received: by 2002:a17:902:20c8:: with SMTP id v8-v6mr35352263plg.226.1517588532463; Fri, 02 Feb 2018 08:22:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517588532; cv=none; d=google.com; s=arc-20160816; b=X30jAwbRQvf/6L2O3txpbETVR3LV7FnZRJNEQYbpBo9ssbF7vB7AVeIpn46/CXXpL4 GBNeiYV6fpnFh7n0i+DJ3QL0QMu/lLr66qxSk6wgLEnRSYch7FKnSV6vT8FrrAPE7pHL mxXoOkCvkXcB0gU6TrSgySHjTd6u+A+YUjFk502DvarL9yfo7aCC5rtXgTq8a9GSmJDX P9RG8t9Nu9UK7iL2Y95hGr7CRW+3AW/5QxGbbXV1rwDH7hVFUXii4qV5U+xzPxYqI7Bo h+w+kqhAldoTYKhBi6R+DdJWn4/DuW75n0kFAdDyBs41AVdb5zJy8L10QC6biitgBu0M cZHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=Z/pq8HmGFRN0V7tENGaqCJebuGRQZTCd0CyKdEnGN9A=; b=QyyINTJZpvXMr5ZmSF7KgU+qG2rW2HitCB9buLjVC5BmJLEEjMaCd8E6S9tFBDQl6K iGnxE7X0pvcbeQIQ6TVjht02hP+kEIP18N7v56Ktpltjhz+5CGZ0GbK1KV1nlkXESpS7 iDhrugYfEx2kyNfE/QKcGYpSAB4EquGYQ4Ld4jnrsOUyg3IvFNIbYSiewNEcsJgXVxw2 l3xtUQfrxDgnBQ/ge0Mr50yvucHx4X6TEE/PAbU2H2Rb3F5fQIjNGqFRPvnQSQYh7G8z bAtp+MWilItgsY6UdkWKFG1SzdE61X6MDwamX83obL55mC50hqZboBuFh2cF2M1aii2e mU2w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q19si1671652pgc.321.2018.02.02.08.22.12; Fri, 02 Feb 2018 08:22:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751737AbeBBQWK (ORCPT + 28 others); Fri, 2 Feb 2018 11:22:10 -0500 Received: from mout.kundenserver.de ([212.227.17.13]:52550 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752100AbeBBQVW (ORCPT ); Fri, 2 Feb 2018 11:21:22 -0500 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue105 [212.227.15.145]) with ESMTPA (Nemesis) id 0LkQIt-1fJias3ueJ-00cMYB; Fri, 02 Feb 2018 17:21:18 +0100 From: Arnd Bergmann To: Andi Kleen Cc: Nicolas Pitre , linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, Arnd Bergmann Subject: [PATCH 5/7] [HACK] avoid gcc-8 ICE on LTO Date: Fri, 2 Feb 2018 17:21:02 +0100 Message-Id: <20180202162104.2300532-5-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20180202161550.2106846-1-arnd@arndb.de> References: <20180202161550.2106846-1-arnd@arndb.de> X-Provags-ID: V03:K0:iSnERfIOGrKHLp2wtMzu2l3E4eXo2wWCjWpmjszVxdjKWYTgF3l JTIOIS6ASiA4lXy2N8ugZVQ1YtUalhqZ98YxuCR5ezrGvjT+LegM3AmHxSxx0bMH/NP3esB 7FTrndiceL4mGnHIi97qgFY3WSV3g3/7VKp48hPjuV4GHoqPYqiHY8rBBprf5tcyqFGsWUg 9ho6l6RzZPpT4rnxN2r4A== X-UI-Out-Filterresults: notjunk:1; V01:K0:gUJgnlzJwVQ=:8Kircma9Rd3ErCZW+9N4+H xvjP1oBVPMZlMrcklGoYfPRKh/CTbFEcrRlCBm9VfeTDfmaAfoc3OjNJ4XPw+e6UInBPcPHGl xPomcl8xHtyaZI8Nd8KdDg6/GzZ9PrryK/6xkwS7xt2sWBVVrkYUWuhpUB2SsyKpAw2vVStYA JJxzwCUhrnLI6R1iuThH6q/dZOTWslcWvkKmB4qx4ZEGpczHW1XGwJHwhApsBHuC/899ydUkx 8ux+k2eFvWUOCQBjbFarMBd19Q1+v23fPZ5qxqClj9ihA3KgvBpOPmVW6TWwGIOMdn6u0bgbB jIhQ9Z813h4BOYV/1NSxLXzA0B+aUow+g+kWiW3+9+WLc8Dh+8mhNmcUu0QL/lqirD2MaVf+C yap2On8oFqNSH3qdOm+trmNcaqaJ0OnqG5G3J/zIGFydEwW66IhZl+ZOqYA9en/RnzLG2pYqO 0E8yWEFObFSuyfQO6SMTY+BC0xAGqAgSwtkA5KowkkncSfwdAEJUt2edthubbIEGQJtcNNHvn aqjbnpGW1hSPMJAtrSPxfRG9xLAYxc2krgv48OoT89HYka6LSwHGF7bHQCmQKosXgiwwi9KaG UkiuXzzSSp2UvEVFmEVYdFGA05HdXxSawyf6sCig7SXutjNCphM14BO+fWD2kIHfZbqmhUmef pBy4DGiN+nju01Nb2grDkzikhFURoQrDcvib/YPI8MVrFeIjd/nmthItXkvkWSGCTV13K3HQx AEyO03NhALcHJQL7ss8+G4iBZNGi53niZ/0Duw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I ran into a build error: /git/arm-soc/net/sctp/sm_sideeffect.c: In function 'sctp_do_sm': /git/arm-soc/net/sctp/sm_sideeffect.c:1155:5: internal compiler error: Segmentation fault int sctp_do_sm(struct net *net, enum sctp_event event_type, ^ 0xa42b7f crash_signal The bug is fixed in mainline gcc now, but I carry this as I have not yet upgrade. Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84105 Signed-off-by: Arnd Bergmann --- net/sctp/sm_sideeffect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.9.0 diff --git a/net/sctp/sm_sideeffect.c b/net/sctp/sm_sideeffect.c index b71e7fb0a20a..d211863fad48 100644 --- a/net/sctp/sm_sideeffect.c +++ b/net/sctp/sm_sideeffect.c @@ -1152,12 +1152,12 @@ static void sctp_cmd_send_asconf(struct sctp_association *asoc) * If you want to understand all of lksctp, this is a * good place to start. */ +typedef const char *(printfn_t)(union sctp_subtype); int sctp_do_sm(struct net *net, enum sctp_event event_type, union sctp_subtype subtype, enum sctp_state state, struct sctp_endpoint *ep, struct sctp_association *asoc, void *event_arg, gfp_t gfp) { - typedef const char *(printfn_t)(union sctp_subtype); static printfn_t *table[] = { NULL, sctp_cname, sctp_tname, sctp_oname, sctp_pname, };