commit | b934fd23a9f19a8cda9e954a88c7709b69314051 | [log] [tgz] |
---|---|---|
author | Bin Meng <bin.meng@windriver.com> | Sun Jan 31 20:36:00 2021 +0800 |
committer | Simon Glass <sjg@chromium.org> | Wed Feb 03 03:38:41 2021 -0700 |
tree | b93ebeece37ed9c7891b95e1bbbc3fcb0fd9ad34 | |
parent | f936cf67c5f1b75a0646d251f7d9618c94ef106a [diff] |
serial: sifive: Cast dev_read_addr() with uintptr_t dev_read_addr() returns fdt_addr_t which is now a 64-bit address. In a 32-bit build, this causes the following warning seen when building serial_sifive.c: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Cast the return value with uintptr_t. Signed-off-by: Bin Meng <bin.meng@windriver.com>