Re: [PATCH v2 06/10] net: ftmac100: Cast priv->iobase with uintptr_t

2021-02-03 Thread Simon Glass
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-

[PATCH v2 06/10] net: ftmac100: Cast priv->iobase with uintptr_t

2021-01-31 Thread Bin Meng
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