net: fec: fix regression on i.MX28 introduced by rx_copybreak support

David Miller davem at davemloft.net
Wed Nov 5 12:52:07 PST 2014


From: Lothar Waßmann <LW at KARO-electronics.de>
Date: Wed, 5 Nov 2014 06:21:48 +0100

> David Miller wrote:
>> Because it goes "(n + (d - 1)) / d"
>> 
>> Which for 'd' of 4 gives:
>> 
>> 1 --> 4
>> 2 --> 4
>> 3 --> 4
>> 4 --> 4
>>
> '1', not '4'.
> The loop has to be done once for each (probably partial) WORD of input
> data, not for each BYTE.

You're right, thanks for being so patient with me.

Please repost your patch, I'll integrate it.

Thanks.



More information about the linux-arm-kernel mailing list