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:
552e1f2
)
USB: yurex: fix race between probe() and read()
author
Oliver Neukum
<oneukum@suse.de>
Mon, 19 May 2014 11:52:20 +0000
(13:52 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 27 May 2014 23:03:58 +0000
(16:03 -0700)
There's a window during which read() would return 0 instead
of a correct error for no data yet. Reorder initialization
to fix the race.
Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/yurex.c
patch
|
blob
|
history
diff --cc
drivers/usb/misc/yurex.c
Simple merge