git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fdbe44
)
Input: xpad - return proper error in error path
author
Axel Lin
<axel.lin@gmail.com>
Fri, 12 Nov 2010 05:39:11 +0000
(21:39 -0800)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Fri, 12 Nov 2010 06:02:11 +0000
(22:02 -0800)
In current implementation, xpad_probe return 0 when
usb_alloc_urb failed for xpad->bulk_out and kzalloc failed for xpad->bdata.
This patch removes the initialization for error variable,
assign the error code at the place the error happens instead.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
No differences found