Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 117710
b: refs/heads/master
c: 3fe68cc
h: refs/heads/master
v: v3
  • Loading branch information
Julia Lawall authored and James Bottomley committed Oct 23, 2008
1 parent 392b76e commit 929014f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: d4c9b736080056ae3ba81dcf2ac418193c57dbb1
refs/heads/master: 3fe68cc152fc7cc6a763c692544a0ab71926c800
4 changes: 2 additions & 2 deletions trunk/drivers/scsi/sun3x_esp.c
Original file line number Diff line number Diff line change
Expand Up @@ -213,15 +213,15 @@ static int __devinit esp_sun3x_probe(struct platform_device *dev)
esp->ops = &sun3x_esp_ops;

res = platform_get_resource(dev, IORESOURCE_MEM, 0);
if (!res && !res->start)
if (!res || !res->start)
goto fail_unlink;

esp->regs = ioremap_nocache(res->start, 0x20);
if (!esp->regs)
goto fail_unmap_regs;

res = platform_get_resource(dev, IORESOURCE_MEM, 1);
if (!res && !res->start)
if (!res || !res->start)
goto fail_unmap_regs;

esp->dma_regs = ioremap_nocache(res->start, 0x10);
Expand Down

0 comments on commit 929014f

Please sign in to comment.