]> err.no Git - linux-2.6/commit
RDMA/cxgb3: Check return of kmalloc() in iwch_register_device()
authorWANG Cong <xiyou.wangcong@gmail.com>
Tue, 10 Jul 2007 03:12:26 +0000 (20:12 -0700)
committerRoland Dreier <rolandd@cisco.com>
Tue, 10 Jul 2007 03:12:26 +0000 (20:12 -0700)
commit6abb6ea80b6564c00906aa0727cf59d2be780d82
treedbfd28b4c8318706bea801cb72da294ed826e221
parentecc2f0060fa7ff2fc53864ee19e370e5ddd47d5e
RDMA/cxgb3: Check return of kmalloc() in iwch_register_device()

Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
[ Also remove cast from void * return of kmalloc() as suggested by
  Jesper Juhl <jesper.juhl@gmail.com>. ]
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/cxgb3/iwch_provider.c