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:
ee568b2
)
USB: usbtmc: fix stupid bug in open()
author
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 11 Mar 2009 03:42:55 +0000
(20:42 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 17 Mar 2009 21:01:28 +0000
(14:01 -0700)
open() will never succeed, as we always return -ENODEV. Fix this
obvious bug.
Thanks to Jouni Ryno for reporting it.
Reported-by: Jouni Ryno <Jouni.Ryno@fmi.fi>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
No differences found