projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
serial: amba-pl011: fix incorrect integer size in pl011_fifo_to_tty()
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
tty
/
serial
/
amba-pl011.c
diff --git
a/drivers/tty/serial/amba-pl011.c
b/drivers/tty/serial/amba-pl011.c
index fd27e986b1dd3437dfd2560ec11efd8def7bf254..899a77187bdead871b2e1f22ed4f320486e5288b 100644
(file)
--- 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
, ch
;
- unsigned int flag, max_count = 256;
+ u16 status;
+ unsigned int
ch,
flag, max_count = 256;
int fifotaken = 0;
while (max_count--) {