commit | ff7607c1048953f5fe2720170bfb848477fabb82 | [log] [tgz] |
---|---|---|
author | Bin Meng <bin.meng@windriver.com> | Sun Jan 31 20:36:02 2021 +0800 |
committer | Simon Glass <sjg@chromium.org> | Wed Feb 03 03:38:41 2021 -0700 |
tree | badd263164800e967165bd6f5a5138315b4caf10 | |
parent | 65d59952c8f637cae06d0d696f9d9dfdb101cb5b [diff] |
net: ftmac100: Cast priv->iobase with uintptr_t priv->iobase was declared as phys_addr_t which is now a 64-bit address. In a 32-bit build, this causes the following warning seen when building ftmac100.c: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Cast priv->iobase with uintptr_t. Signed-off-by: Bin Meng <bin.meng@windriver.com>