lkml.org 
[lkml]   [2005]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: kernel BUG at mm/slab.c:1488! (2.6.13.2)
Davi Arnaut <davi.lkml@gmail.com> wrote:
>
> How about really fixing kmem_cache_* to use the proper return conventions ?
> In this case it should have returned ERR_PTR(-EEXIST);

A NULL return on failure is fine - what would we do with the additional
info anyway? Not anything which justifies updating the >200 callsites, I
suspect.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-10-28 12:58    [W:0.402 / U:0.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site