On 7/24/2019 2:16 PM, Andrew Rybchenko wrote:
> P2ROUNDUP() and P2ALIGN() macros are buggy when alignment type is smaller
> than type of the value to be aligned.
> 
> IS_P2ALIGNED() has no the problem since it cast its arugments
> to uintptr_t inside, but fixed anyway to follow the same approach as
> new EFX_P2ROUNDUP() and EFX_P2ALIGN().
> 
> Patches have checkpatches.sh warnings in base driver since space
> is required after sizeof.
> 
> v3:
>     - add lost [2/3]
> 
> v2:
>     - fix [1/3] in accordance with [2/3] changes to be correct from the
>       very beginning
> 
> Andrew Rybchenko (3):
>   net/sfc: fix power of 2 round up when align has smaller type
>   net/sfc: fix align to power of 2 when align has smaller type
>   net/sfc: unify power of 2 alignment check macro

Series applied to dpdk-next-net/master, thanks.

Reply via email to