projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
438957f
)
staging:rts_pstor:Complete scanning_done variable
author
wwang
<wei_wang@realsil.com.cn>
Mon, 31 Oct 2011 07:02:53 +0000
(15:02 +0800)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Sun, 27 Nov 2011 01:37:39 +0000
(17:37 -0800)
Complete scanning_done variable if rtsx-scan thread created failed.
Signed-off-by: wwang <wei_wang@realsil.com.cn>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rts_pstor/rtsx.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/rts_pstor/rtsx.c
b/drivers/staging/rts_pstor/rtsx.c
index 480b0ed2e4de8975ea315504190c5eff02e5ac59..115635f9502456d7e8e3f16470b7f4a269b23b5b 100644
(file)
--- a/
drivers/staging/rts_pstor/rtsx.c
+++ b/
drivers/staging/rts_pstor/rtsx.c
@@
-1021,6
+1021,7
@@
static int __devinit rtsx_probe(struct pci_dev *pci,
th = kthread_create(rtsx_scan_thread, dev, "rtsx-scan");
if (IS_ERR(th)) {
printk(KERN_ERR "Unable to start the device-scanning thread\n");
+ complete(&dev->scanning_done);
quiesce_and_remove_host(dev);
err = PTR_ERR(th);
goto errout;