USB: udl: proper error reporting
authorOliver Neukum <oneukum@suse.de>
Mon, 19 May 2014 11:50:22 +0000 (13:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 May 2014 23:03:58 +0000 (16:03 -0700)
commit737583f07e6267c60847e6c9a75e651277c08828
tree248cb25968e68e9fd671fd0a0a5103c74ec8049b
parentc78d1ecfd7e639f21c7a809f4df6de1a644a91f0
USB: udl: proper error reporting

Parsing device descriptors can fail due to a failed memory
allocation. The error needs to be properly propagated to the
upper layers.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/udl/udl_main.c