Skip to content

Commit

Permalink
pcmcia: add important if statement
Browse files Browse the repository at this point in the history
There was a problem introduced in Jul 2008 by:
0e6f9d2 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>
  • Loading branch information
Dan Carpenter authored and Dominik Brodowski committed Mar 15, 2010
1 parent 0d3a940 commit e794c01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/scsi/pcmcia/nsp_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit e794c01

Please sign in to comment.