Re: [PATCH net-next 03/12] net: bcmgenet: simplify circular pointer arithmetic

Florian Fainelli
2017-03-14T00:55:00Z

On 03/13/2017 05:41 PM, Doug Berger wrote:
> A 2's complement subtraction will always do a borrow, so masking
> off the sign bits is the same as conditionally adding (mask+1).
>
> Signed-off-by: Doug Berger <opendmb@gmail.com>

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
--
Florian