Thread (8 messages) 8 messages, 3 authors, 2012-02-29

Re: [PATCH 1/2] vmalloc: use ZERO_SIZE_PTR / ZERO_OR_NULL_PTR

From: Dan Carpenter <hidden>
Date: 2012-02-28 09:42:30
Also in: lkml

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

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help