Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 164491
b: refs/heads/master
c: 470967d
h: refs/heads/master
i:
  164489: e51acb0
  164487: e477bdb
v: v3
  • Loading branch information
Roel Kluin authored and Linus Torvalds committed Sep 22, 2009
1 parent 636dbb8 commit 00bdf44
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: 734f3fa18d460995c8621cf2331b7fba88c977ce
refs/heads/master: 470967dc6c38696f853b7f338eb9d743c28a9e11
2 changes: 1 addition & 1 deletion trunk/drivers/char/pcmcia/cm4000_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1017,7 +1017,7 @@ static ssize_t cmm_read(struct file *filp, __user char *buf, size_t count,
}
}

if (dev->proto == 0 && count > dev->rlen - dev->rpos) {
if (dev->proto == 0 && count > dev->rlen - dev->rpos && i) {
DEBUGP(4, dev, "T=0 and count > buffer\n");
dev->rbuf[i] = dev->rbuf[i - 1];
dev->rbuf[i - 1] = dev->procbyte;
Expand Down

0 comments on commit 00bdf44

Please sign in to comment.