Messages in this thread | | | Date | Fri, 28 Oct 2005 03:55:37 -0700 | From | Andrew Morton <> | Subject | Re: 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/
| |