Re: [PATCH v2] clk: socfpga: fix iomem pointer cast on 64-bit
From: Stephen Boyd
Date: Mon Mar 29 2021 - 15:05:29 EST
Quoting Krzysztof Kozlowski (2021-03-14 04:07:09)
> 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]
>
> Fixes: b7cec13f082f ("clk: socfpga: Look for the GPIO_DB_CLK by its offset")
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxx>
> Acked-by: Dinh Nguyen <dinguyen@xxxxxxxxxx>
>
> ---
Applied to clk-fixes