Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 31903
b: refs/heads/master
c: 3e7196c
h: refs/heads/master
i:
  31901: cca41ee
  31899: fa93c11
  31895: c5246db
  31887: e42f816
  31871: 2ab77a8
v: v3
  • Loading branch information
GOTO Masanori authored and James Bottomley committed Jun 26, 2006
1 parent ffa515f commit 5dc2bc3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 041976fb6ae851cd18d96584a5d6361b564c9974
refs/heads/master: 3e7196cf6070821ff8246b15dfd219ffa6409062
9 changes: 8 additions & 1 deletion trunk/drivers/scsi/nsp32.c
Original file line number Diff line number Diff line change
Expand Up @@ -2886,12 +2886,19 @@ static int nsp32_detect(struct scsi_host_template *sht)
}

#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,73))
scsi_add_host (host, &PCIDEV->dev);
ret = scsi_add_host(host, &PCIDEV->dev);
if (ret) {
nsp32_msg(KERN_ERR, "failed to add scsi host");
goto free_region;
}
scsi_scan_host(host);
#endif
pci_set_drvdata(PCIDEV, host);
return DETECT_OK;

free_region:
release_region(host->io_port, host->n_io_port);

free_irq:
free_irq(host->irq, data);

Expand Down

0 comments on commit 5dc2bc3

Please sign in to comment.