lkml.org 
[lkml]   [2012]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2012-02-28 10:45    [W:0.058 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site