All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Revert "serial: amba-pl011: fix incorrect integer size in pl011_fifo_to_tty()"
@ 2015-10-23 10:00 ` Huang Shijie
  0 siblings, 0 replies; 22+ messages in thread
From: Huang Shijie @ 2015-10-23 10:00 UTC (permalink / raw)
  To: gregkh, linux-arm-kernel; +Cc: Huang Shijie, timur, Dave.Martin, linux-serial

The commit 71a5cd8a4 makes the console hang for some times.
This reverts commit 71a5cd8a4a2602a6e9010b557a23af0a54df87b6.

Signed-off-by: Huang Shijie <shijie.huang@arm.com>
---
 drivers/tty/serial/amba-pl011.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c
index 899a771..fd27e98 100644
--- a/drivers/tty/serial/amba-pl011.c
+++ b/drivers/tty/serial/amba-pl011.c
@@ -191,8 +191,8 @@ struct uart_amba_port {
  */
 static int pl011_fifo_to_tty(struct uart_amba_port *uap)
 {
-	u16 status;
-	unsigned int ch, flag, max_count = 256;
+	u16 status, ch;
+	unsigned int flag, max_count = 256;
 	int fifotaken = 0;
 
 	while (max_count--) {
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2015-10-26  5:47 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-23 10:00 [PATCH] Revert "serial: amba-pl011: fix incorrect integer size in pl011_fifo_to_tty()" Huang Shijie
2015-10-23 10:00 ` Huang Shijie
2015-10-23 10:31 ` Dave Martin
2015-10-23 10:31   ` Dave Martin
2015-10-23 12:35   ` Timur Tabi
2015-10-23 12:35     ` Timur Tabi
2015-10-23 13:34     ` Dave P Martin
2015-10-23 13:34       ` Dave P Martin
2015-10-23 15:37       ` Timur Tabi
2015-10-23 15:37         ` Timur Tabi
2015-10-23 16:02         ` Dave P Martin
2015-10-23 16:02           ` Dave P Martin
2015-10-23 16:38           ` Timur Tabi
2015-10-23 16:38             ` Timur Tabi
2015-10-23 17:49             ` Peter Hurley
2015-10-23 17:49               ` Peter Hurley
2015-10-26  1:58             ` Huang Shijie
2015-10-26  1:58               ` Huang Shijie
2015-10-26  2:13             ` Huang Shijie
2015-10-26  2:13               ` Huang Shijie
2015-10-26  5:47   ` Huang Shijie
2015-10-26  5:47     ` Huang Shijie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.