From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Wed, 3 Feb 2021 17:53:48 -0800 Subject: [PATCH v2 06/10] net: ftmac100: Cast priv->iobase with uintptr_t In-Reply-To: <20210131123606.20702-7-bmeng.cn@gmail.com> References: <20210131123606.20702-7-bmeng.cn@gmail.com> <20210131123606.20702-1-bmeng.cn@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Bin Meng 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 --- Changes in v2: - new patch: net: ftmac100: Cast priv->iobase with uintptr_t drivers/net/ftmac100.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) Applied to u-boot-dm, thanks!