projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d3a940
)
pcmcia: add important if statement
author
Dan Carpenter
<error27@gmail.com>
Mon, 15 Mar 2010 08:25:10 +0000
(11:25 +0300)
committer
Dominik Brodowski
<linux@dominikbrodowski.net>
Mon, 15 Mar 2010 13:50:17 +0000
(14:50 +0100)
There was a problem introduced in Jul 2008 by:
0e6f9d270840
pcmcia: use pcmcia_loop_config in scsi pcmcia drivers
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/scsi/pcmcia/nsp_cs.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/pcmcia/nsp_cs.c
b/drivers/scsi/pcmcia/nsp_cs.c
index
c2341af
..
0212464
100644
(file)
--- a/
drivers/scsi/pcmcia/nsp_cs.c
+++ b/
drivers/scsi/pcmcia/nsp_cs.c
@@
-1717,6
+1717,7
@@
static int nsp_cs_config(struct pcmcia_device *link)
cfg_mem->data = data;
ret = pcmcia_loop_config(link, nsp_cs_config_check, cfg_mem);
+ if (ret)
goto cs_failed;
if (link->conf.Attributes & CONF_ENABLE_IRQ) {