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

2021-04-09 Thread Stephen Boyd
Quoting Arnd Bergmann (2021-04-09 00:26:50) > From: Arnd Bergmann > > 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

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

2021-04-09 Thread Arnd Bergmann
From: Arnd Bergmann 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’: >

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

2021-03-29 Thread Stephen Boyd
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

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

2021-03-14 Thread Krzysztof Kozlowski
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