projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e4905c
)
serial: omap-serial: fix signess error
author
Vasiliy Kulikov
<segooon@gmail.com>
Sun, 10 Oct 2010 17:28:35 +0000
(21:28 +0400)
committer
Tony Lindgren
<tony@atomide.com>
Tue, 12 Oct 2010 20:22:42 +0000
(13:22 -0700)
"ret" is unsigned, so check for (ret < 0) made no sense.
Made it signed.
Signed-off-by: Vasiliy Kulikov <segooon@gmail.com>
Acked-by: Kevin Hilman <khilman@deeprootsystems.com
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/serial/omap-serial.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/serial/omap-serial.c
b/drivers/serial/omap-serial.c
index 2ee1d3282a8c1fa06b6c37ccc985809da8bfde6c..14365f72b66463ac8f08449820cde53ef3fe20ae 100644
(file)
--- a/
drivers/serial/omap-serial.c
+++ b/
drivers/serial/omap-serial.c
@@
-1055,7
+1055,7
@@
static void serial_omap_rx_timeout(unsigned long uart_no)
{
struct uart_omap_port *up = ui[uart_no];
unsigned int curr_dma_pos, curr_transmitted_size;
-
unsigned
int ret = 0;
+ int ret = 0;
curr_dma_pos = omap_get_dma_dst_pos(up->uart_dma.rx_dma_channel);
if ((curr_dma_pos == up->uart_dma.prev_rx_dma_pos) ||