Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1977476imm; Thu, 24 May 2018 03:55:57 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpnChKx6dh46dHFH/oublwJm7ogRp+Bg96PX7UpnaoutZvNT+R8QkagrvNKXvuczq2ObHAR X-Received: by 2002:a65:4b8d:: with SMTP id t13-v6mr5442533pgq.446.1527159357451; Thu, 24 May 2018 03:55:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527159357; cv=none; d=google.com; s=arc-20160816; b=BtLrspo364Swq8Z374NHNiKyTrMrHRChx8t9547NNXIBf3kNOvVIKirqxyMoDdYIq3 Yp6OGSS/ic0X+cRvpfdQbYVGA6qFaa7oQ73zmdgphmekmsnzF+QfCSKKdWwnQwNhNUcc D7XCX2cr73XNwQ48mk0yfivyAyvA19ZDGZwDN392IX3f+2Yq6NpyFpPFi2ID0frqfcFm V9BmbTBl4c+D1AnDWCD/o2cTape8O6kY/iHr8LG0WD0mNIf8LFbXVS7pAY3ZFC/s1hJG VMdbndrxsua8bVQM/iXRUUjusfl/JWdg+jvGOPcKTuDB5W40u8w0x6mqS7q63iVhBBte FH2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=7qu/w/J094P7rqs5Vt9HzmYkpTC2miT4oYSiJ0oGLFA=; b=Q0nFGgDjmbQXhF8MArpZPDwwHnhL336A5Pj2kGfM5sYC2gKObDBJKP19FfvZoa7aW0 3kU3A841BDyIAf8HLM6W5HsTcGAGVK+XkVMyO6oD1SakYT9utLaqF4py31IHkn+goTyL MtoaAd/s1NQMoo8DJMuARDGb5xOckh+szgdVuVUPFe48SpRGKd1qj/K7vNd73gtWU31F p70yHMwM8/FpCugW5t8fRSDRmi/dWxLHVi+Std+ECkBppkMbNtMyVefotgL8642LFhNH ykWCCr8hr37w3YOwLohurWdxcl+IkZosC6TTWvTW8OXROUwR+Bo+Kndbrko3HVxV74YJ BwWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=eDuCKcif; 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 m26-v6si21555668pfk.56.2018.05.24.03.55.42; Thu, 24 May 2018 03:55:57 -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; dkim=pass header.i=@kernel.org header.s=default header.b=eDuCKcif; 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 S1030394AbeEXJ5F (ORCPT + 99 others); Thu, 24 May 2018 05:57:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:36786 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030361AbeEXJ45 (ORCPT ); Thu, 24 May 2018 05:56:57 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6F9F22089C; Thu, 24 May 2018 09:56:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1527155817; bh=yozs5DJQBoqS+Wh9iod+jfqMwcHP8XHsT/+BX93mgCA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eDuCKcifQgTp08XXDNM5AkGZ+Y07rEwhu3Slpox6grrdiSNp/PWeecyH01R2cRNTG fGxhDWG2ZOH82aRhy1sqGPRuG+Fdk/V+N3COMPtNmWtY1OelBjmLjHv1fNQzHpArZ5 6LMXWiY6inxYWYvx0u9WmohNAUVsiFhX5ztsGlp4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann , Stephen Boyd , Sasha Levin Subject: [PATCH 4.14 128/165] clk: hisilicon: mark wdt_mux_p[] as const Date: Thu, 24 May 2018 11:38:54 +0200 Message-Id: <20180524093627.186445352@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180524093621.979359379@linuxfoundation.org> References: <20180524093621.979359379@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Arnd Bergmann [ Upstream commit df934cbcbff7afbc024bf05f02615917c61f6470 ] The symbol is in the __initconst section but not marked init, which caused a warning when building with LTO. This makes it 'const' as was obviously intended. Signed-off-by: Arnd Bergmann Fixes: c80dfd9bf54e ("clk: hisilicon: add CRG driver for Hi3516CV300 SoC") Signed-off-by: Stephen Boyd Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- drivers/clk/hisilicon/crg-hi3516cv300.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/clk/hisilicon/crg-hi3516cv300.c +++ b/drivers/clk/hisilicon/crg-hi3516cv300.c @@ -204,7 +204,7 @@ static const struct hisi_crg_funcs hi351 /* hi3516CV300 sysctrl CRG */ #define HI3516CV300_SYSCTRL_NR_CLKS 16 -static const char *wdt_mux_p[] __initconst = { "3m", "apb" }; +static const char *const wdt_mux_p[] __initconst = { "3m", "apb" }; static u32 wdt_mux_table[] = {0, 1}; static const struct hisi_mux_clock hi3516cv300_sysctrl_mux_clks[] = {