Hi,

On 26 August 2015 at 06:17, Bin Meng <[email protected]> wrote:
> 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 <[email protected]>
>
> ---
>
> Changes in v2:
> - Use lower_32_bits() and upper_32_bits()
>
>  drivers/net/e1000.c | 9 +++++----
>  1 file changed, 5 insertions(+), 4 deletions(-)

Acked-by: Simon Glass <[email protected]>

I'd like to pick this up for u-boot-x86 as it fixes warnings in most x86 boards.

Regards,
Simon
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to