]> git.ipfire.org Git - people/ms/u-boot.git/commit
net: fec: fix build warnings for 64bits support
authorYe Li <ye.li@nxp.com>
Wed, 10 Jan 2018 05:20:44 +0000 (13:20 +0800)
committerStefano Babic <sbabic@denx.de>
Sun, 4 Feb 2018 11:00:58 +0000 (12:00 +0100)
commitf24e482ae0b856fcf18e8e6956ab3f6b59f3693f
treee7ae2c3abf4e68d22eda5806d57216467b206dfb
parent238a53c71010ea15e38ab0253316a7ac2fd8035c
net: fec: fix build warnings for 64bits support

When building for 64bits system, we get some warnings about type
cast between pointer and integer. This patch eliminates the warnings
by using ulong/long type which is 32bits on 32bits system or 64bits on
64bits system.

Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Stefano Babic <sbabic@denx.de>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
drivers/net/fec_mxc.c