Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 208395
b: refs/heads/master
c: ef3f7cc
h: refs/heads/master
i:
  208393: ddcf8e6
  208391: e3f3a9c
v: v3
  • Loading branch information
Roel Kluin authored and Linus Torvalds committed Aug 11, 2010
1 parent 970c8bb commit 73487b4
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 13bcbc008790b05413c9a16763b423c206528c0a
refs/heads/master: ef3f7cc41280e9611a837df1fedf3f6d4d921a75
3 changes: 2 additions & 1 deletion trunk/drivers/scsi/osst.c
Original file line number Diff line number Diff line change
Expand Up @@ -5868,7 +5868,8 @@ static int osst_probe(struct device *dev)
}

/* find a free minor number */
for (i=0; os_scsi_tapes[i] && i<osst_max_dev; i++);
for (i = 0; i < osst_max_dev && os_scsi_tapes[i]; i++)
;
if(i >= osst_max_dev) panic ("Scsi_devices corrupt (osst)");
dev_num = i;

Expand Down

0 comments on commit 73487b4

Please sign in to comment.