[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <af6156cafe7d7df31c042e60d2287b9a75b49738.camel@buserror.net>
Date: Fri, 28 Jun 2019 16:27:31 -0500
From: Scott Wood <oss@...error.net>
To: Nathan Huckleberry <nhuck@...gle.com>, mturquette@...libre.com,
sboyd@...nel.org, yogeshnarayan.gaur@....com
Cc: linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org,
clang-built-linux@...glegroups.com
Subject: Re: [PATCH] clk: qoriq: Fix -Wunused-const-variable
On Thu, 2019-06-27 at 15:06 -0700, Nathan Huckleberry wrote:
> 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@...glegroups.com
> Signed-off-by: Nathan Huckleberry <nhuck@...gle.com>
Acked-by: Scott Wood <oss@...error.net>
-Scott
Powered by blists - more mailing lists