Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 2530
b: refs/heads/master
c: 5bdfcfc
h: refs/heads/master
v: v3
  • Loading branch information
Cornelia Huck authored and Linus Torvalds committed Jun 22, 2005
1 parent 837ebc7 commit e98b4b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 60b2737de1b1ddfdb90f3ba622634eb49d6f3603
refs/heads/master: 5bdfcfcc0780f58b927a164dfd54d1e1b6767347
6 changes: 3 additions & 3 deletions trunk/drivers/s390/cio/blacklist.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* drivers/s390/cio/blacklist.c
* S/390 common I/O routines -- blacklisting of specific devices
* $Revision: 1.33 $
* $Revision: 1.34 $
*
* Copyright (C) 1999-2002 IBM Deutschland Entwicklung GmbH,
* IBM Corporation
Expand Down Expand Up @@ -289,7 +289,7 @@ static int cio_ignore_read (char *page, char **start, off_t off,
len = 0;
for (devno = off; /* abuse the page variable
* as counter, see fs/proc/generic.c */
devno <= __MAX_SUBCHANNELS && len + entry_size < count; devno++) {
devno < __MAX_SUBCHANNELS && len + entry_size < count; devno++) {
if (!test_bit(devno, bl_dev))
continue;
len += sprintf(page + len, "0.0.%04lx", devno);
Expand All @@ -302,7 +302,7 @@ static int cio_ignore_read (char *page, char **start, off_t off,
len += sprintf(page + len, "\n");
}

if (devno <= __MAX_SUBCHANNELS)
if (devno < __MAX_SUBCHANNELS)
*eof = 1;
*start = (char *) (devno - off); /* number of checked entries */
return len;
Expand Down

0 comments on commit e98b4b6

Please sign in to comment.