Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp749890pxa; Wed, 12 Aug 2020 12:26:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwvJimzRDRY+0X/jGCtPyJbDEE1k5thcTCF50o7myI8gPfafCViaEjDTVXDmFMvxoftmRLA X-Received: by 2002:a50:f311:: with SMTP id p17mr1485014edm.37.1597260412850; Wed, 12 Aug 2020 12:26:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597260412; cv=none; d=google.com; s=arc-20160816; b=tQl+pdVnv3DvuJKzxJK6QfieHxHc/0QgtW5e78zejdzG2dAGBXhvVpn9qRYi1na7QM 2RH//NTaESGh0nBmI0OI+bmQCt/meh7fwhMYFppy6C/PP+9zGu56+O89IjnMXkrEtk25 BeOYhPNxF4Ae2q5GzUTVoeSOEiCgy6nOODVFulZ69IcGnzzevKAl4TjuKEezoCGcf3vd PD596wwHjRE6ZHARyQcfryvwpvkhSiKcNxonDJtdKk/dJOpavYBVJtwLhmOILAiallUt vbFc+S4SzGucAeKvALFUtRqlx9sGtWHx1E0fSndN/TcJyORuosVOtibJOquZ+3+WgBja sNlQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=33ldfOkRANRSLeI4Yt7cr0uuATKQFCiHvJQ64iRq4j0=; b=WJF5SPyCUMFsu0bVnLINI3+sAnnMToIt6qc7giWsKk4Z/SyYDP8YNwqUTpAxTKmx4K jBqZwYg9DZ1CBpbUd3rmNRYPzMoVs7/aTyv4fui3KNPUyRvBdpHCU4z8Dio3Z7JVuACu nT3Qfn5+iW3coQlHmkW7hjY6Oh3zaTKKRXmEQ1RM3d7E6y/6DWKHxo8X0677krKmwtn7 Tuwxyyjdu0RqSI0DUg0wlKorphmH+OJ+I5RFqqYni7g8lAjJEcmJJe2nXCqzzljewQMQ qxOg68gesrntJS7h1/0WABlY4TJnkpgX+yERnK9mRcgI90Elolw+niHQ0GP4CGvHsqNM HOIA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q17si1843699edg.164.2020.08.12.12.26.29; Wed, 12 Aug 2020 12:26:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726600AbgHLTXx (ORCPT + 99 others); Wed, 12 Aug 2020 15:23:53 -0400 Received: from gloria.sntech.de ([185.11.138.130]:39072 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726512AbgHLTXx (ORCPT ); Wed, 12 Aug 2020 15:23:53 -0400 Received: from dynamic-194-228-11-227.ipv4.broadband.iol.cz ([194.228.11.227] helo=phil.localnet) by gloria.sntech.de with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k5wLk-0000aL-3f; Wed, 12 Aug 2020 21:23:48 +0200 From: Heiko Stuebner To: Stephen Boyd Cc: Michael Turquette , Nathan Chancellor , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com Subject: Re: [PATCH] clk: rockchip: Fix initialization of mux_pll_src_4plls_p Date: Wed, 12 Aug 2020 21:23:31 +0200 Message-ID: <1687296.fXXW8n0h3p@phil> In-Reply-To: <159721875227.33733.9237826555988566719@swboyd.mtv.corp.google.com> References: <20200810044020.2063350-1-natechancellor@gmail.com> <159721875227.33733.9237826555988566719@swboyd.mtv.corp.google.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Mittwoch, 12. August 2020, 09:52:32 CEST schrieb Stephen Boyd: > Quoting Nathan Chancellor (2020-08-09 21:40:20) > > A new warning in Clang points out that the initialization of > > mux_pll_src_4plls_p appears incorrect: > > > > ../drivers/clk/rockchip/clk-rk3228.c:140:58: warning: suspicious > > concatenation of string literals in an array initialization; did you > > mean to separate the elements with a comma? [-Wstring-concatenation] > > PNAME(mux_pll_src_4plls_p) = { "cpll", "gpll", "hdmiphy" "usb480m" }; > > ^ > > , > > ../drivers/clk/rockchip/clk-rk3228.c:140:48: note: place parentheses > > around the string literal to silence warning > > PNAME(mux_pll_src_4plls_p) = { "cpll", "gpll", "hdmiphy" "usb480m" }; > > ^ > > 1 warning generated. > > > > Given the name of the variable and the same variable name in rv1108, it > > seems that this should have been four distinct elements. Fix it up by > > adding the comma as suggested. > > > > Fixes: 307a2e9ac524 ("clk: rockchip: add clock controller for rk3228") > > Link: https://github.com/ClangBuiltLinux/linux/issues/1123 > > Signed-off-by: Nathan Chancellor > > --- > > Looks good to me. I can pick it up for clk-fixes if Heiko agrees. Reviewed-by: Heiko Stuebner @Stephen you can pick this up as suggested Thanks Heiko