lkml.org 
[lkml]   [2008]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] slub: fix possible NULL pointer dereference
On Sun, Mar 2, 2008 at 10:28 PM, Cyrill Gorcunov <gorcunov@gmail.com> wrote:
> This patch fix possible NULL pointer dereference if kzalloc
> failed. To be able to return proper error code the function
> return type is changed to ssize_t (according to callees and
> sysfs definitions).
>
> Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>

Looks good to me.

Reviewed-by: Pekka Enberg <penberg@cs.helsinki.fi>


\
 
 \ /
  Last update: 2008-03-02 21:51    [W:0.045 / U:0.732 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site