diff options
author | Oliver Neukum <oneukum@suse.de> | 2014-05-19 13:52:20 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-28 01:03:58 +0200 |
commit | c78d1ecfd7e639f21c7a809f4df6de1a644a91f0 (patch) | |
tree | e97d8999e4a7dc159f26153fc56fc76d746dc874 /arch/powerpc/boot/ns16550.c | |
parent | USB: appledisplay: fix race between reading and writing from the device (diff) | |
download | linux-c78d1ecfd7e639f21c7a809f4df6de1a644a91f0.tar.xz linux-c78d1ecfd7e639f21c7a809f4df6de1a644a91f0.zip |
USB: yurex: fix race between probe() and read()
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>
Diffstat (limited to 'arch/powerpc/boot/ns16550.c')
0 files changed, 0 insertions, 0 deletions