Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 189637
b: refs/heads/master
c: 162a689
h: refs/heads/master
i:
  189635: 1c3fab0
v: v3
  • Loading branch information
François Diakhaté authored and Rusty Russell committed Apr 8, 2010
1 parent ff2ef01 commit b45459f
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: 9a82446bd269b130a9ac270e720e65c3843d4d0c
refs/heads/master: 162a689a13ed61c0752726edb75427b2cd4186c1
6 changes: 3 additions & 3 deletions trunk/drivers/char/virtio_console.c
Original file line number Diff line number Diff line change
Expand Up @@ -646,13 +646,13 @@ static int put_chars(u32 vtermno, const char *buf, int count)
{
struct port *port;

if (unlikely(early_put_chars))
return early_put_chars(vtermno, buf, count);

port = find_port_by_vtermno(vtermno);
if (!port)
return 0;

if (unlikely(early_put_chars))
return early_put_chars(vtermno, buf, count);

return send_buf(port, (void *)buf, count);
}

Expand Down

0 comments on commit b45459f

Please sign in to comment.