[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150227132443.e17d574d45451f10f413f065@linux-foundation.org>
Date: Fri, 27 Feb 2015 13:24:43 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Danesh Petigara <dpetigara@...adcom.com>
Cc: <m.szyprowski@...sung.com>, <mina86@...a86.com>,
<iamjoonsoo.kim@....com>, <aneesh.kumar@...ux.vnet.ibm.com>,
<laurent.pinchart+renesas@...asonboard.com>,
<gregory.0xf0@...il.com>, <linux-mm@...ck.org>,
<linux-kernel@...r.kernel.org>, <stable@...r.kernel.org>
Subject: Re: [PATCH v2] mm: cma: fix CMA aligned offset calculation
On Tue, 24 Feb 2015 15:39:45 -0800 Danesh Petigara <dpetigara@...adcom.com> 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.
When fixing a bug please always describe the end-user visible effects
of that bug.
Without that information others are unable to understand why you are
recommending a -stable backport.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists