[U-Boot] [U-Boot, v2, 1/5] driver: net: ti: cpsw-mdio: use phys_addr_t for mdio_base addr

Tom Rini trini at konsulko.com
Fri Apr 12 12:05:16 UTC 2019


On Mon, Feb 04, 2019 at 09:34:28AM +0530, Keerthy wrote:

> From: Grygorii Strashko <grygorii.strashko at ti.com>
> 
> Use phys_addr_t for mdio_base address to avoid build warnings on arm64.
> 
> Signed-off-by: Grygorii Strashko <grygorii.strashko at ti.com>
> Signed-off-by: Keerthy <j-keerthy at ti.com>
> Reviewed-by: Tom Rini <trini at konsulko.com>

Please fix:
       arm:  w+   dra7xx_hs_evm_usb
+(dra7xx_hs_evm_usb)   cpsw_mdio->regs = (struct cpsw_mdio_regs *)mdio_base;
+(dra7xx_hs_evm_usb)                     ^
w+(dra7xx_hs_evm_usb) drivers/net/ti/cpsw_mdio.c: In function 'cpsw_mdio_init':
w+(dra7xx_hs_evm_usb) drivers/net/ti/cpsw_mdio.c:147:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 
-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190412/436e2df7/attachment.sig>


More information about the U-Boot mailing list