Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 139972
b: refs/heads/master
c: 4330e17
h: refs/heads/master
v: v3
  • Loading branch information
Len Sorensen authored and Greg Ungerer committed Mar 24, 2009
1 parent b28b8a9 commit 7fb64d5
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: c315bd5fdd2a949a9ccc22b2c64ee694602682d4
refs/heads/master: 4330e179a96bc9310d36e9b858bc8f275f329312
2 changes: 1 addition & 1 deletion trunk/drivers/serial/mcf.c
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ static int __init mcf_console_setup(struct console *co, char *options)
int parity = 'n';
int flow = 'n';

if ((co->index >= 0) && (co->index <= MCF_MAXPORTS))
if ((co->index < 0) || (co->index >= MCF_MAXPORTS))
co->index = 0;
port = &mcf_ports[co->index].port;
if (port->membase == 0)
Expand Down

0 comments on commit 7fb64d5

Please sign in to comment.