[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <161798773615.3790633.4877613255691338405@swboyd.mtv.corp.google.com>
Date: Fri, 09 Apr 2021 10:02:16 -0700
From: Stephen Boyd <sboyd@...nel.org>
To: Arnd Bergmann <arnd@...nel.org>, Dinh Nguyen <dinguyen@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>,
Michael Turquette <mturquette@...libre.com>,
linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: Arnd Bergmann <arnd@...db.de>
Subject: Re: [PATCH v2] clk: socfpga: fix iomem pointer cast on 64-bit
Quoting Arnd Bergmann (2021-04-09 00:26:50)
> From: Arnd Bergmann <arnd@...db.de>
>
> On Sun, 14 Mar 2021 12:07:09 +0100, Krzysztof Kozlowski wrote:
> > Pointers should be cast with uintptr_t instead of integer. This fixes
> > warning when compile testing on ARM64:
> >
> > drivers/clk/socfpga/clk-gate.c: In function ‘socfpga_clk_recalc_rate’:
> > drivers/clk/socfpga/clk-gate.c:102:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
>
> I decided to pull that into the arm/drivers branch as well, to avoid the
> build regression. Since the same fix is in the clk tree, there will now
> be a duplicated commit in the git history, but I prefer that over introducing
> warnings.
>
> [1/1] clk: socfpga: fix iomem pointer cast on 64-bit
> commit: 36841008059caec9667459a7e126efac6379676b
>
Ok. I'm sending it off to Linus now.
Powered by blists - more mailing lists