On 31 August 2015 at 03:52, Bin Meng <[email protected]> wrote:
> When building dm version of designware eth driver on a platform
> with 64-bit phys_addr_t, it reports the following warnings:
>
>   drivers/net/designware.c: In function 'designware_eth_probe':
>   drivers/net/designware.c:599:2:
>     warning: format '%lx' expects argument of type 'long unsigned int',
>     but argument 3 has type 'phys_addr_t' [-Wformat]
>   drivers/net/designware.c:600:21:
>     warning: cast to pointer from integer of different size 
> [-Wint-to-pointer-cast]
>   drivers/net/designware.c:601:21:
>     warning: cast to pointer from integer of different size 
> [-Wint-to-pointer-cast]
>
> This commit fixes the build warnings.
>
> Signed-off-by: Bin Meng <[email protected]>
> ---
>
>  drivers/net/designware.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)

Reviewed-by: Simon Glass <[email protected]>
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to