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

2021-03-14 Thread Krzysztof Kozlowski
On 13/03/2021 22:10, Stephen Boyd wrote: > Quoting Krzysztof Kozlowski (2021-03-11 06:48:33) >> Pointers should be cast to unsigned long instead of integer. This fixes >> warning when compile testing on ARM64: >> >> drivers/clk/socfpga/clk-gate.c: In function ‘socfpga_clk_recalc_rate’: >> driv

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

2021-03-13 Thread Stephen Boyd
Quoting Krzysztof Kozlowski (2021-03-11 06:48:33) > Pointers should be cast to unsigned long 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

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

2021-03-11 Thread Dinh Nguyen
On 3/11/21 8:48 AM, Krzysztof Kozlowski wrote: Pointers should be cast to unsigned long 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

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

2021-03-11 Thread Krzysztof Kozlowski
Pointers should be cast to unsigned long 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-in