diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> | 2021-03-14 12:07:09 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-04-14 08:24:18 +0200 |
commit | f4c5968da7734ebbe112c1fa7d1318f990d42708 (patch) | |
tree | ef9b49c2945c2de17b17f91a04b2b6415dad7507 /Documentation/devicetree/bindings/net/ethernet-controller.yaml | |
parent | 35ba6d9240ee9219459e25ba9b99984405e05204 (diff) |
clk: socfpga: fix iomem pointer cast on 64-bit
commit 2867b9746cef78745c594894aece6f8ef826e0b4 upstream.
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@canonical.com>
Acked-by: Dinh Nguyen <dinguyen@kernel.org>
Link: https://lore.kernel.org/r/20210314110709.32599-1-krzysztof.kozlowski@canonical.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings/net/ethernet-controller.yaml')
0 files changed, 0 insertions, 0 deletions