summaryrefslogtreecommitdiff
path: root/arch/mips/jz4740
diff options
context:
space:
mode:
authorOliver Neukum <oneukum@suse.de>2014-05-19 15:52:20 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-28 03:03:58 +0400
commitc78d1ecfd7e639f21c7a809f4df6de1a644a91f0 (patch)
treee97d8999e4a7dc159f26153fc56fc76d746dc874 /arch/mips/jz4740
parent552e1f2679b7b766b8b8de3dc6d83d9cd28f28b2 (diff)
downloadlinux-c78d1ecfd7e639f21c7a809f4df6de1a644a91f0.tar.xz
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/mips/jz4740')
0 files changed, 0 insertions, 0 deletions