[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120228094415.GA2868@mwanda>
Date: Tue, 28 Feb 2012 12:44:15 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Dmitry Antipov <dmitry.antipov@...aro.org>
Cc: Rusty Russell <rusty.russell@...aro.org>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org, linux-mm@...ck.org,
linaro-dev@...ts.linaro.org, patches@...aro.org
Subject: Re: [PATCH 1/2] vmalloc: use ZERO_SIZE_PTR / ZERO_OR_NULL_PTR
On Tue, Feb 28, 2012 at 01:33:59PM +0400, Dmitry Antipov wrote:
> - Fix vmap() to return ZERO_SIZE_PTR if 0 pages are requested;
> - fix __vmalloc_node_range() to return ZERO_SIZE_PTR if 0 bytes
> are requested;
> - fix __vunmap() to check passed pointer with ZERO_OR_NULL_PTR.
>
Why?
Also patch 2/2 should go in before patch 1/2 or it breaks things.
regards,
dan carpenter
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists