Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 145154
b: refs/heads/master
c: d3375ea
h: refs/heads/master
v: v3
  • Loading branch information
Roel Kluin authored and Jens Axboe committed May 20, 2009
1 parent f8019ef commit 991074e
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: 31a14400e8f365e5d4d1a0b2a1ef4d5405d6091e
refs/heads/master: d3375ea7213d09284ee3683d8bc075b9d3786a03
2 changes: 1 addition & 1 deletion trunk/drivers/cdrom/viocd.c
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ static int viocd_probe(struct vio_dev *vdev, const struct vio_device_id *id)
struct device_node *node = vdev->dev.archdata.of_node;

deviceno = vdev->unit_address;
if (deviceno > VIOCD_MAX_CD)
if (deviceno >= VIOCD_MAX_CD)
return -ENODEV;
if (!node)
return -ENODEV;
Expand Down

0 comments on commit 991074e

Please sign in to comment.