]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
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)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 09:29:44 +0000 (11:29 +0200)
commit11785edb9e5e0ec0eb13f88f6b4ec9e937244648
tree3e7f6e8360d64b22f3770e9b6efda337c32413fe
parentc11d16795a89b7db04e6aedee534bbdc69d9c6b1
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