Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7358592imu; Mon, 3 Dec 2018 11:33:53 -0800 (PST) X-Google-Smtp-Source: AFSGD/X1mZvGS8TLTvi/209NaSzhGImth+MjE9L1Fm+OlbefLXjqKE6EIPySttGTzUQzz9uPJNCo X-Received: by 2002:a17:902:583:: with SMTP id f3mr17680033plf.202.1543865633403; Mon, 03 Dec 2018 11:33:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543865633; cv=none; d=google.com; s=arc-20160816; b=uonA/ig4q57JZSoL9vM3IcSTQQjxdyiRNGdC1rFS5UBcOqKd8Y5n11Rh/BtaWOhBWZ sZNB8ux4p+Kljxa+Z3S2xpcNeD2vPquT2tZBfDacjF39e/ZFAyUeQXPQJfewh5xXKI1o fC7cJPUmHHk2ONuh1nPRRi/6Ea0PvoPhUi0V5c4BvVJ0OeXxfiRqyJ8Wm9dgMCiLUf2z iucTnHVhpGfYNnwIjgNyKIxKXmG+5SNn626Ww8/VEX2AHi113gm7gdv4ixsxXjR27c5A rPY9YiPbZKTJeKtHb8BXjRB2egIn3m6GSHUYn7tPAOBgPQOaHPxSgzLZ7+sNmbglHOMU P84g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:subject:user-agent:message-id :references:cc:in-reply-to:from:to:content-transfer-encoding :mime-version:dkim-signature; bh=L6/NFyeYyZGD1htA67cPRO88Hu4M3Lk+MbA+xpZ69AU=; b=emFkTyhGyqO1UvLQ/y5lPb6LQ/VCCZNk0jybyrj0QHqX6DwIrktBCHyrJ4pfTJFI2B huhwDCY1lDNAeDxJ7XUdUAE1Lmf54avQdYLSvyBE7IGaU/yKUEvbDRuWhUIboSsH/xE2 QKyO6pe0s8OHs22ooSu+wUfhnZ+k+eaKtuXGu2/SFSA63ThV2N+YlAPE2L7r+49Kev+6 AMLcQJFDEzJyYdlirNfx/2Bwi0MRABe6PArnzcfBWO+GG1V0RAxbmWzCiDuEgcsOxVr4 s2D2S7fwtBwy+EZCRPS+9e1tcCr012T6Hf8khncFUCHzA5XovRgSg4r62146/+Arys4y XeuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=xxtHWDop; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o28si13698550pgm.238.2018.12.03.11.33.38; Mon, 03 Dec 2018 11:33:53 -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; dkim=pass header.i=@kernel.org header.s=default header.b=xxtHWDop; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726233AbeLCTc3 (ORCPT + 99 others); Mon, 3 Dec 2018 14:32:29 -0500 Received: from mail.kernel.org ([198.145.29.99]:49680 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725890AbeLCTc3 (ORCPT ); Mon, 3 Dec 2018 14:32:29 -0500 Received: from localhost (unknown [104.132.0.74]) (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 5D73E2081C; Mon, 3 Dec 2018 19:32:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543865542; bh=YavQxUs2aYtJS3H9JApIzgtskWnmMskf54E//MhiYxA=; h=To:From:In-Reply-To:Cc:References:Subject:Date:From; b=xxtHWDopi9r4p13gWunA1yjpQsji9gIN0FswBoWsTa7V82w5PmlsqozH9jNfPnYdo pT8RxVr8xBaRorub6wW0UEbBhyA9j94GScqPQjiNzXLevwZ/Lr1N3qsn8BYXpbvfHm g0Zsv2ZteabsyOOxRUZHGmN1rbsMuPnXpmbSxd8g= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable To: "A.s. Dong" , "linux-clk@vger.kernel.org" From: Stephen Boyd In-Reply-To: <1542200198-3017-8-git-send-email-aisheng.dong@nxp.com> Cc: "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "mturquette@baylibre.com" , "shawnguo@kernel.org" , Anson Huang , Jacky Bai , dl-linux-imx , "A.s. Dong" , Stephen Boyd References: <1542200198-3017-1-git-send-email-aisheng.dong@nxp.com> <1542200198-3017-8-git-send-email-aisheng.dong@nxp.com> Message-ID: <154386554175.88331.9328534190030483928@swboyd.mtv.corp.google.com> User-Agent: alot/0.7 Subject: Re: [PATCH V6 7/9] clk: imx: make mux parent strings const Date: Mon, 03 Dec 2018 11:32:21 -0800 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting A.s. Dong (2018-11-14 05:02:00) > As the commit 2893c379461a ("clk: make strings in parent name arrays > const"), let's make the parent strings const, otherwise we may meet > the following warning when compiling: > = > drivers/clk/imx/clk-imx7ulp.c: In function 'imx7ulp_clocks_init': > drivers/clk/imx/clk-imx7ulp.c:73:35: warning: passing argument 5 of > 'imx_clk_mux_flags' discards 'const' qualifier from pointer targe= t type > = > clks[IMX7ULP_CLK_APLL_PRE_SEL] =3D imx_clk_mux_flags("apll_pre_sel", ba= se + 0x508, 0, > 1, pll_pre_sels, ARRAY_SIZE(pll_pre_sels), CLK_SET_PARENT_GATE); > ^ > In file included from drivers/clk/imx/clk-imx7ulp.c:23:0: > drivers/clk/imx/clk.h:200:27: note: expected 'const char **' but argument= is > of type 'const char * const*' > ... > = > Cc: Stephen Boyd > Cc: Michael Turquette > Cc: Shawn Guo > Signed-off-by: Dong Aisheng > = > --- Applied to clk-next