Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 213519
b: refs/heads/master
c: 70eebd0
h: refs/heads/master
i:
  213517: 33bfd49
  213515: 9e1ba3e
  213511: cc51f8e
  213503: 7e40893
v: v3
  • Loading branch information
Anton Vorontsov authored and Greg Kroah-Hartman committed Oct 22, 2010
1 parent 029246f commit 43d88c3
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: 5d89a48acfbaae02e7ecf97d4d8cc570a31964c5
refs/heads/master: 70eebd0b604989705f46697814e48fb4ea1d1bb9
2 changes: 1 addition & 1 deletion trunk/drivers/serial/altera_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ static int __init altera_uart_console_setup(struct console *co, char *options)
if (co->index < 0 || co->index >= CONFIG_SERIAL_ALTERA_UART_MAXPORTS)
return -EINVAL;
port = &altera_uart_ports[co->index].port;
if (port->membase == 0)
if (!port->membase)
return -ENODEV;

if (options)
Expand Down

0 comments on commit 43d88c3

Please sign in to comment.