USB: cdc-wdm: cleanup error codes
authorOliver Neukum <oliver@neukum.org>
Mon, 30 Apr 2012 07:57:31 +0000 (09:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 30 Apr 2012 13:58:56 +0000 (09:58 -0400)
commit12a98b2bd8050b3cf28b50da612c484cdf174368
treeb43abd0b435a3f08d329a853aa5741f300a9de89
parent880bca3a2a6f159d7453e0cbcbfe2f1d8204d907
USB: cdc-wdm: cleanup error codes

MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The internal error codes returned in the write() code
path cannot be simply passed on to user space.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Tested-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/class/cdc-wdm.c