net: e1000: Fix build warnings for 32-bit
authorBin Meng <bmeng.cn@gmail.com>
Wed, 26 Aug 2015 13:17:27 +0000 (06:17 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 26 Aug 2015 14:54:01 +0000 (07:54 -0700)
commit1d8a078b29433f35608cd0fbd94d0feed3bfb33d
tree20f3069aa657a47c3d4649e71a471feebbe31328
parent7d31c6ab83d8a5875875eda041c0a1e756189917
net: e1000: Fix build warnings for 32-bit

commit 6497e37 "net: e1000: Support 64-bit physical address" causes
compiler warnings on 32-bit U-Boot build below.

drivers/net/e1000.c: In function 'e1000_configure_tx':
drivers/net/e1000.c:4982:2: warning: right shift count >= width of type [enabled by default]
drivers/net/e1000.c: In function 'e1000_configure_rx':
drivers/net/e1000.c:5126:2: warning: right shift count >= width of type [enabled by default]

This commit fixes the build warnings.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/e1000.c