Received: by 10.213.65.68 with SMTP id h4csp1742721imn; Sun, 1 Apr 2018 13:46:00 -0700 (PDT) X-Google-Smtp-Source: AIpwx49WYhC/1WfMGz/LWWkfxV1+4Djcgo6M3PZiusoCivk+jBZVSP7aeMy0iTAuuxEt4e/0qO/s X-Received: by 10.98.152.22 with SMTP id q22mr5434354pfd.178.1522615560810; Sun, 01 Apr 2018 13:46:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522615560; cv=none; d=google.com; s=arc-20160816; b=QOHjNI2FB/+ZOXfM3yjIqWPOVATCs+6RrVg0fmjUGX2xjW7FDZPWsPMdYM2wRlt73x 55Qo6TALUO/hKGxBvgxFaxCT8nFFTNsCD8CJt1nM9t/5/SHqp6iRJYjaoF3sSL3vhsHv 2erKbDF6xesodbYoyEDqKnca/gQYiT/tNtUuWsHJsrxVEaokZUgG95wZPxXE4uIjKAzf y4sJwTWKHQWuXXIoWG99wbGisnW6dvuPnhDvUMoP4L5uUtnYVrEVpfcNTtV3tHszKT50 IfMbV1VDWYHngFlzPM7erKqvAgA+l1+60WM4bPnyUpYrMXOlgAmzsvIVH7HVEGEc6n+Z xZfg== 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=cbuPuJXXBgD/2gOhvWbS8SN6MU7302AzDxrbRWnhi0E=; b=AaTP1FXPuZLwOCo/j3mum/8AbtmAa9pWQ8IoCT9IOuf2BfHhwIS9TpwylOPS6io2/2 ISLmiddAzmhEr4JKkcsIwDLCKAHLTynVG9G8LPiAIy/ZaJ9zWVby47NV7Q8BJJb9mKFR lcN4XF56T7D+L/2vNoKz+mQG/ztQn4Ix4s+wHOoS/5GurXVeGErAEI5ZjvUXWLU+ypAU d/z4aDNlyH8ZM3HrcoMATDFXklymOFZnjyFgTOGHGz3maAMEeelfDo/K6xsMofswsuhE lyKckKm9qSuPffNZ36w13CbWvJtkqe8JevV72cqSIlxoiIzyykd4VlKsUMidur7lQIlo AVGw== 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 m23si5145606pgc.672.2018.04.01.13.45.46; Sun, 01 Apr 2018 13:46:00 -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 S1754706AbeDAUot (ORCPT + 99 others); Sun, 1 Apr 2018 16:44:49 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:50746 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754185AbeDAUoq (ORCPT ); Sun, 1 Apr 2018 16:44:46 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 46CCBEB6E4 for ; Sun, 1 Apr 2018 20:44: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 EBBE0D7DFD; Sun, 1 Apr 2018 20:44:45 +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 45/45] C++: Move initcall_level_names[] to __initdata section From: David Howells To: linux-kernel@vger.kernel.org Date: Sun, 01 Apr 2018 21:44:45 +0100 Message-ID: <152261548549.30503.17477120572899326312.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.79 on 10.11.54.5 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Sun, 01 Apr 2018 20:44:46 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Sun, 01 Apr 2018 20:44:46 +0000 (UTC) for IP:'10.11.54.5' DOMAIN:'int-mx05.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 Move initcall_level_names[] to __initdata section for the moment as g++ doesn't want to put it in __initconst: init/main.c:876:20: error: 'initcall_level_names' causes a section type conflict with '__setup_str_set_debug_rodata' Signed-off-by: David Howells --- init/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init/main.c b/init/main.c index 642e917387db..6d404fc07007 100644 --- a/init/main.c +++ b/init/main.c @@ -873,7 +873,7 @@ static initcall_t *initcall_levels[] __initdata = { }; /* Keep these in sync with initcalls in include/linux/init.h */ -static const char *initcall_level_names[] __initconst = { +static const char *initcall_level_names[] __initdata = { "early", "core", "postcore",