Re: [-mm Patch] INFINIBAND: check the return value of kmalloc

From: Jesper Juhl
Date: Thu Jul 05 2007 - 18:26:24 EST


On 05/07/07, Roland Dreier <rdreier@xxxxxxxxx> wrote:
thanks, I added Jesper's suggestion to the original patch and queued
this for 2.6.23:

(Steve, let me know if this looks OK or not to you)

It certainly looks OK to me :-)


commit 8d339921a2cb279457dce79f8a308978e0b41b27
Author: WANG Cong <xiyou.wangcong@xxxxxxxxx>
Date: Thu Jul 5 14:40:32 2007 -0700

RDMA/cxgb3: Check return of kmalloc() in iwch_register_device()

Signed-off-by: WANG Cong <xiyou.wangcong@xxxxxxxxx>
[ Also remove cast from void * return of kmalloc() as suggested by
Jesper Juhl <jesper.juhl@xxxxxxxxx>. ]
Signed-off-by: Roland Dreier <rolandd@xxxxxxxxx>

Signed-off-by: Jesper Juhl <jesper.juhl@xxxxxxxxx>


--
Jesper Juhl <jesper.juhl@xxxxxxxxx>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
-
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/