diff options
author | Krzysztof Kozlowski <[email protected]> | 2021-03-14 12:07:09 +0100 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2021-03-29 12:04:38 -0700 |
commit | 2867b9746cef78745c594894aece6f8ef826e0b4 (patch) | |
tree | 348f64279cfddb02c4afb7d24baaca78b1adbad3 /scripts/gdb/linux/rbtree.py | |
parent | 148ddaa89d4a0a927c4353398096cc33687755c1 (diff) |
clk: socfpga: fix iomem pointer cast on 64-bit
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 <[email protected]>
Acked-by: Dinh Nguyen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/rbtree.py')
0 files changed, 0 insertions, 0 deletions