[U-Boot] [PATCH v2 02/10] net: e1000: Fix build warnings for 32-bit

Simon Glass sjg at chromium.org
Wed Aug 26 16:56:40 CEST 2015


On 26 August 2015 at 07:42, Joe Hershberger <joe.hershberger at gmail.com> wrote:
> Hi Bin,
>
> On Wed, Aug 26, 2015 at 8:17 AM, Bin Meng <bmeng.cn at gmail.com> 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 <bmeng.cn at gmail.com>
>
> Acked-by: Joe Hershberger <joe.hershberger at ni.com>

Applied to u-boot-x86, thanks!


More information about the U-Boot mailing list