[PATCH] chelsio: fix kmalloc failure in t1_espi_create
authorEric Sesterhenn <snakebyte@gmx.de>
Sat, 4 Mar 2006 22:16:00 +0000 (01:16 +0300)
committerJeff Garzik <jeff@garzik.org>
Mon, 6 Mar 2006 19:38:00 +0000 (14:38 -0500)
commit2d66806d740eeb410aa785bd7fba3bd24bb082c1
tree7e38e871b3848253ac64166d2ddad02461e86c15
parentd033d9345101c07aa6965590109eac0bf7f25b8d
[PATCH] chelsio: fix kmalloc failure in t1_espi_create

memset() is called before check.

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/chelsio/espi.c