diff options
author | Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com> | 2024-12-20 08:37:42 +0530 |
---|---|---|
committer | Michal Simek <michal.simek@amd.com> | 2024-12-20 09:17:43 +0100 |
commit | 1b70b6c9cc98290fbd46da09c9f5a95f45121148 (patch) | |
tree | 8afcf1755d7e2b49a6841703df975e7113c514bd /drivers/ddr/marvell/axp/ddr3_read_leveling.c | |
parent | c06705a9a13d58e799b98927c360e93954b62860 (diff) |
common: memtop: Fix the return type for find_ram_top
As the return type is "int" for find_ram_top() function and
returning the "base" which is of phys_addr_t is breaking when the
"base" address is 64-bit. So fix this by updating the return type as
phys_addr_t.
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Reviewed-by: Michal Simek <michal.simek@amd.com>
Acked-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Link: https://lore.kernel.org/r/20241220030742.1745984-1-venkatesh.abbarapu@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
Diffstat (limited to 'drivers/ddr/marvell/axp/ddr3_read_leveling.c')
0 files changed, 0 insertions, 0 deletions