ping: re: [PATCH 1/1] kernel code that do not handle NULL return of kmem_cache_zalloc
Alexander Graf
agraf at suse.de
Mon Dec 2 20:54:51 EST 2013
On 02.12.2013, at 04:07, Zhouyi Zhou <yizhouzhou at ict.ac.cn> 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 at ict.ac.cn>
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
More information about the Linuxppc-dev
mailing list