Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 149661
b: refs/heads/master
c: a85c8e1
h: refs/heads/master
i:
  149659: 702d9e9
v: v3
  • Loading branch information
roel kluin authored and Benjamin Herrenschmidt committed Jun 2, 2009
1 parent 322ba9a commit ecaa64b
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 2d8ae638bb86a3c7e8a7e610ec5ae545327d146a
refs/heads/master: a85c8e17587e81e1c82f6f341a81e4c778fa65f6
2 changes: 1 addition & 1 deletion trunk/drivers/char/viotape.c
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ static int viotape_probe(struct vio_dev *vdev, const struct vio_device_id *id)
int j;
struct device_node *node = vdev->dev.archdata.of_node;

if (i > VIOTAPE_MAX_TAPE)
if (i >= VIOTAPE_MAX_TAPE)
return -ENODEV;
if (!node)
return -ENODEV;
Expand Down

0 comments on commit ecaa64b

Please sign in to comment.