Received: by 10.213.65.68 with SMTP id h4csp1741931imn; Sun, 1 Apr 2018 13:44:26 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+XTPdnrZa7U3zR42kLUKdMD+MWAFmyaZ353dWfXgxOkVm6rr8nWk00MKSLSpX63gQDt4O6 X-Received: by 10.98.171.7 with SMTP id p7mr5422652pff.215.1522615466084; Sun, 01 Apr 2018 13:44:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522615466; cv=none; d=google.com; s=arc-20160816; b=bDQc6qeSLn93zbPyhL+h0W5A5VN7UIzCWUGV6wm28sZIJoW9wbXLuqmyzZlNvpNZBc jTvoum6QXnsMq1mMu9Rt/yzU+612MyaLA4UaZRMRH5rOTbFLNIEoApzBzKWKqsxQF5Ng mEMQxr6HTQylm5f+T+hGwF/VyV/XDdv0XbD5j1vKfiZiIDwGthaI2Qq7Zt+EbyTrn6FH gPPlapjC2KmwhBEybIVMYA7HcrrIAr16bYoxrixVieTBOLv166DLV5oVvB1BTm/aIPJr cM2h13Y6SovGIOYTpF+pqDCTkxrKCfxZvqtlsAnC8bZZkLh4YAVJHpduBSkaegXlA+v7 MTBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:to:from:subject :organization:arc-authentication-results; bh=1r7dWemZk8wwjgqJ0pEKScMB0pGmnrvQAbCCTRCX6Cc=; b=1DUGWCyC8esmhgFEMF9X65gf6jZdhmF0UYyQ1uDqixHCJUjbv2xg5yyQIj4Z619ObS phm9duh/zPW3i+86ZmasfS6R0MkuwW+NfBW6bQiXwJF4/7u13IRDClvLhi4tsudEfv2y 2fxB9OJNjFG77pQh5N94QAFUX1/lSmCvOPNmjER/m4bylfOw1QPLHIsXKXCn0hQDd65w ZrO8srXESxaBSdzTkK9By61R9lHtwVYKhHd6HWJloBDxZcZGSUGksT3FG/wK0UqwFCuw aXye7D3ZOX8n+VIIDTsIf7SPHDixMsKrYkSpTBEToXBBMZ4ldyhByb+R31g6izI+RPrX BRFQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n4si8802600pgt.450.2018.04.01.13.44.12; Sun, 01 Apr 2018 13:44:26 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754472AbeDAUmu (ORCPT + 99 others); Sun, 1 Apr 2018 16:42:50 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:38136 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754455AbeDAUmr (ORCPT ); Sun, 1 Apr 2018 16:42:47 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 916FB406804A for ; Sun, 1 Apr 2018 20:42:46 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-120-59.rdu2.redhat.com [10.10.120.59]) by smtp.corp.redhat.com (Postfix) with ESMTP id 42592111DCF0; Sun, 1 Apr 2018 20:42:46 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 Subject: [PATCH 25/45] C++: Fix void variables From: David Howells To: linux-kernel@vger.kernel.org Date: Sun, 01 Apr 2018 21:42:45 +0100 Message-ID: <152261536576.30503.4764265997854816995.stgit@warthog.procyon.org.uk> In-Reply-To: <152261521484.30503.16131389653845029164.stgit@warthog.procyon.org.uk> References: <152261521484.30503.16131389653845029164.stgit@warthog.procyon.org.uk> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Sun, 01 Apr 2018 20:42:46 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Sun, 01 Apr 2018 20:42:46 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'dhowells@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Turn void-type variables into char-type as C++ doesn't allow the former. Signed-off-by: David Howells --- include/asm-generic/sections.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/asm-generic/sections.h b/include/asm-generic/sections.h index 849cd8eb5ca0..f3efd6cc9ba0 100644 --- a/include/asm-generic/sections.h +++ b/include/asm-generic/sections.h @@ -53,7 +53,7 @@ extern char __ctors_start[], __ctors_end[]; /* Start and end of .opd section - used for function descriptors. */ extern char __start_opd[], __end_opd[]; -extern __visible const void __nosave_begin, __nosave_end; +extern __visible const char __nosave_begin[], __nosave_end[]; /* Function descriptor handling (if any). Override in asm/sections.h */ #ifndef dereference_function_descriptor