On Tue, Feb 24, 2015 at 02:17:46PM -0800, Danesh Petigara wrote:
> The CMA aligned offset calculation is incorrect for
> non-zero order_per_bit values.
> 
> For example, if cma->order_per_bit=1, cma->base_pfn=
> 0x2f800000 and align_order=12, the function returns
> a value of 0x17c00 instead of 0x400.
> 
> This patch fixes the CMA aligned offset calculation.
> 
> Cc: [email protected]
> Signed-off-by: Danesh Petigara <[email protected]>
> Reviewed-by: Gregory Fong <[email protected]>
> Acked-by: Michal Nazarewicz <[email protected]>
> ---
> Changes since v1:
>       - moved comment out of function
>       - removed unused 'alignment' variable
> 
> v1: https://lkml.org/lkml/2015/2/24/598
> 

<formletter>

This is not the correct way to submit patches for inclusion in the
stable kernel tree.  Please read Documentation/stable_kernel_rules.txt
for how to do this properly.

</formletter>
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to