diff options
author | Dan Carpenter <error27@gmail.com> | 2010-03-15 11:25:10 +0300 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2010-03-15 14:50:17 +0100 |
commit | e794c01b7de40d180417eacbd910e8f31f2fafeb (patch) | |
tree | acaeb924969d45613bab368b3401fdda6ef876c3 /drivers/scsi/pcmcia | |
parent | 0d3a940de51c47a3d6322537c8dce925db755477 (diff) | |
download | blackbird-obmc-linux-e794c01b7de40d180417eacbd910e8f31f2fafeb.tar.gz blackbird-obmc-linux-e794c01b7de40d180417eacbd910e8f31f2fafeb.zip |
pcmcia: add important if statement
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>
Diffstat (limited to 'drivers/scsi/pcmcia')
-rw-r--r-- | drivers/scsi/pcmcia/nsp_cs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/pcmcia/nsp_cs.c b/drivers/scsi/pcmcia/nsp_cs.c index c2341af587a3..021246454872 100644 --- 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) { |