Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp3397268ybp; Sun, 6 Oct 2019 11:02:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqzpeXAQKX/oykAfM4Ml3ojl8TjsUFdjdaxDwTFMqWAVYKglO9+PNWfyj3j98FMmJ6sOYNcB X-Received: by 2002:a17:906:1c05:: with SMTP id k5mr20744052ejg.286.1570384953375; Sun, 06 Oct 2019 11:02:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570384953; cv=none; d=google.com; s=arc-20160816; b=GF3MMKzWn8rl0kdsx5Fi9sI3Bo1X/WWXkm2BdqeyJQfq7HSqGZOUZ9dXbkWPhprutH +E3p9GqC8sUNUau2DNRBmkOVMRw9Cw2L4G9xJlDvD6hnfuoHKzpBwPipM29Gtm6Pi6eC ZwC/s/gOSNh2zSh1bRZBdRUQtXO9mwCHK32Wo4d+Bp+o9SPwg3lJDRvu6GHOEIp/2Rox BWUEpW4QSEmWrOKyawO9KPoGXgLPnlTZV1Otk9hPunKjjstLlLmW87oXQYqQ9zH+Ab2I 9RHlpannHSIx18SQkcpgIaEp9QuIHHpYERnz7bhYct7RHIin8dCgWdiVIgNTU6dFiyYG mL0Q== 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:subject:cc:to :from:dkim-signature; bh=EsUmI6Y+dKKlwIo+zknOoTDP87qCHVBBJHpkyzMpPhg=; b=vvCzlw24ckKgkMh5KEdU68GrwzCXl50rIVo8ap1bSUG7IisaQ9VvZPIwplfxG/PW/X xokyv/G5H7a95/imgwU4ciQwlC+VaAwwAlN2NklonFF6RZRttHnp2GyUMGoOwKWkvWq+ YjZ69zHCLWD80ZPc0UZ8y8gQqR0NbxswihnUkB6vMjUKHJgU0ltYku21BKb3b4ss1zqO RQShZP0HntOFLVPqm/tYlBFSr44/72C/fEhVqmDBf+qItoirpXuJIv5b+SJYYx6tk14y NfQq9BYlnDjP16BA0c5abReuVVGn9KkT7MMgbjVcIUijATcewTwRg7OYcg6Hg52qqrys UXsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="vIi6M3/b"; 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 g22si7670459eda.27.2019.10.06.11.02.10; Sun, 06 Oct 2019 11:02:33 -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="vIi6M3/b"; 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 S1728736AbfJFR2W (ORCPT + 99 others); Sun, 6 Oct 2019 13:28:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:54000 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727460AbfJFR2V (ORCPT ); Sun, 6 Oct 2019 13:28:21 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (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 BBCFA2080F; Sun, 6 Oct 2019 17:28:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570382900; bh=9EMZoMlOTp277FGr1ArlagX6CsLtls8Fgtekm+PH48w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vIi6M3/bmgGCJXMqEZELktvWrMG4u1wp+/33qIOXlejhbRLS23JY4nFObvIC9IA8H BZi/uB99MoDMMoxH0vAhDpi12HVDf5SnVZM30VQLgz7fxNGYzj5cF619dEcpBL9twT BJ9lbiTcV8oNrIsEFnWU7m1eUPsCFQWWvdnJOc68= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, clang-built-linux@googlegroups.com, Nathan Huckleberry , Nick Desaulniers , Scott Wood , Stephen Boyd , Sasha Levin Subject: [PATCH 4.19 013/106] clk: qoriq: Fix -Wunused-const-variable Date: Sun, 6 Oct 2019 19:20:19 +0200 Message-Id: <20191006171130.650525085@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191006171124.641144086@linuxfoundation.org> References: <20191006171124.641144086@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Nathan Huckleberry [ Upstream commit a95fb581b144b5e73da382eaedb2e32027610597 ] drivers/clk/clk-qoriq.c:138:38: warning: unused variable 'p5020_cmux_grp1' [-Wunused-const-variable] static const struct clockgen_muxinfo p5020_cmux_grp1 drivers/clk/clk-qoriq.c:146:38: warning: unused variable 'p5020_cmux_grp2' [-Wunused-const-variable] static const struct clockgen_muxinfo p5020_cmux_grp2 In the definition of the p5020 chip, the p2041 chip's info was used instead. The p5020 and p2041 chips have different info. This is most likely a typo. Link: https://github.com/ClangBuiltLinux/linux/issues/525 Cc: clang-built-linux@googlegroups.com Signed-off-by: Nathan Huckleberry Link: https://lkml.kernel.org/r/20190627220642.78575-1-nhuck@google.com Reviewed-by: Nick Desaulniers Acked-by: Scott Wood Signed-off-by: Stephen Boyd Signed-off-by: Sasha Levin --- drivers/clk/clk-qoriq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/clk-qoriq.c b/drivers/clk/clk-qoriq.c index 3a1812f65e5d8..8abc5c8cb8b8c 100644 --- a/drivers/clk/clk-qoriq.c +++ b/drivers/clk/clk-qoriq.c @@ -610,7 +610,7 @@ static const struct clockgen_chipinfo chipinfo[] = { .guts_compat = "fsl,qoriq-device-config-1.0", .init_periph = p5020_init_periph, .cmux_groups = { - &p2041_cmux_grp1, &p2041_cmux_grp2 + &p5020_cmux_grp1, &p5020_cmux_grp2 }, .cmux_to_group = { 0, 1, -1 -- 2.20.1