Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 325751
b: refs/heads/master
c: 3d39aa6
h: refs/heads/master
i:
  325749: e874fab
  325747: 0738649
  325743: da474ae
v: v3
  • Loading branch information
Wei Yongjun authored and Greg Kroah-Hartman committed Sep 10, 2012
1 parent 4772b76 commit 0165828
Show file tree
Hide file tree
Showing 3 changed files with 5 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: 3dbc5ce2bffa40ef9a95247f3e9ea0f8874489ac
refs/heads/master: 3d39aa6869c3cfc72dccb6c9431ecdb3ad7627ad
3 changes: 2 additions & 1 deletion trunk/drivers/tty/serial/ioc3_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -1120,13 +1120,14 @@ static inline int do_read(struct uart_port *the_port, char *buf, int len)
struct ioc3_port *port = get_ioc3_port(the_port);
struct ring *inring;
struct ring_entry *entry;
struct port_hooks *hooks = port->ip_hooks;
struct port_hooks *hooks;
int byte_num;
char *sc;
int loop_counter;

BUG_ON(!(len >= 0));
BUG_ON(!port);
hooks = port->ip_hooks;

/* There is a nasty timing issue in the IOC3. When the rx_timer
* expires or the rx_high condition arises, we take an interrupt.
Expand Down
3 changes: 2 additions & 1 deletion trunk/drivers/tty/serial/ioc4_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -2069,13 +2069,14 @@ static inline int do_read(struct uart_port *the_port, unsigned char *buf,
struct ioc4_port *port = get_ioc4_port(the_port, 0);
struct ring *inring;
struct ring_entry *entry;
struct hooks *hooks = port->ip_hooks;
struct hooks *hooks;
int byte_num;
char *sc;
int loop_counter;

BUG_ON(!(len >= 0));
BUG_ON(!port);
hooks = port->ip_hooks;

/* There is a nasty timing issue in the IOC4. When the rx_timer
* expires or the rx_high condition arises, we take an interrupt.
Expand Down

0 comments on commit 0165828

Please sign in to comment.