Re: [PATCH v2] clk: socfpga: fix iomem pointer cast on 64-bit

From: Stephen Boyd
Date: Fri Apr 09 2021 - 13:02:19 EST


Quoting Arnd Bergmann (2021-04-09 00:26:50)
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> 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.