Re: ping: re: [PATCH 1/1] kernel code that do not handle NULL return of kmem_cache_zalloc

From: Alexander Graf
Date: Mon Dec 02 2013 - 04:53:53 EST



On 02.12.2013, at 04:07, Zhouyi Zhou <yizhouzhou@xxxxxxxxx> wrote:

> ping
>> I do a grep for kmem_cache_zalloc and kmem_cache_alloc
>> in kernel tree, and find some code do not handle NULL
>> return of kmem_cache_zalloc correctly
>>
>>
>> Signed-off-by: Zhouyi Zhou <yizhouzhou@xxxxxxxxx>

Thanks a lot for the patch. I'd assume we want something slightly more clever even, similar to Paul's d78bca729.

Please beware that it's usually not a good idea to post patches that span multiple subtrees. I don't want to apply a patch to my kvm tree that touches jffs2 for example, as that's out of my scope. It usually makes a maintainer's life easier if you split up a patch like this according to tree responsibilities.


Alex

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/