Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 95207
b: refs/heads/master
c: 1a4e235
h: refs/heads/master
i:
  95205: a16a81e
  95203: 8445fa9
  95199: fdbfb75
v: v3
  • Loading branch information
Harvey Harrison authored and Linus Torvalds committed Apr 30, 2008
1 parent 940870a commit 3f8ef04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 709107fcd3c4ad82ff7c8137c27aa951d671706f
refs/heads/master: 1a4e2351e7fcf2d10bb5524b0ace7797ffad4d98
4 changes: 2 additions & 2 deletions trunk/drivers/char/cyclades.c
Original file line number Diff line number Diff line change
Expand Up @@ -2747,8 +2747,8 @@ static int cy_write(struct tty_struct *tty, const unsigned char *buf, int count)

spin_lock_irqsave(&info->card->card_lock, flags);
while (1) {
c = min(count, min((int)(SERIAL_XMIT_SIZE - info->xmit_cnt - 1),
(int)(SERIAL_XMIT_SIZE - info->xmit_head)));
c = min(count, (int)(SERIAL_XMIT_SIZE - info->xmit_cnt - 1));
c = min(c, (int)(SERIAL_XMIT_SIZE - info->xmit_head));

if (c <= 0)
break;
Expand Down

0 comments on commit 3f8ef04

Please sign in to comment.