staging: btmtk_usb: check for a valid io_buf pointer
authorDevendra Naga <devendra.aaru@gmail.com>
Sun, 26 May 2013 03:04:16 +0000 (23:04 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2013 12:02:06 +0000 (21:02 +0900)
assigned to retval of kmalloc but not checked whether the allocation failed or not,
fail the registering if allocation fail

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

No differences found