[SCSI] ch: Check NULL for kmalloc() return
authorDavidlohr Bueso A <dave@gnu.org>
Fri, 7 Aug 2009 20:42:21 +0000 (16:42 -0400)
committerJames Bottomley <James.Bottomley@suse.de>
Sat, 22 Aug 2009 22:52:22 +0000 (17:52 -0500)
commita2cf8a6306c89223d0ed35a7e9d40da99902e32a
treebac3fabe15b299cd7d056f6bd501229d663c70b2
parentd68866927ddd0ed3145cb3fba4a1c07ca5e4709d
[SCSI] ch: Check NULL for kmalloc() return

Verify that ch->dt is not NULL before using it.

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/ch.c