aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2008-05-05 15:15:48 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-05-05 15:37:02 -0400
commit63a59fa7a74fccff64dbf7d9230bd9d91bddead4 (patch)
tree7c3c02f9c9d1441ccca88974ef5cdaa41fb22c38 /drivers
parentab1a852128d6f0677999eecbf6d04bf9f6fe9a9a (diff)
m68k: serial167 missing return value in cy_put_char()
commit a5b08c66194fba02a865b397579b7204688bcb1e Author: Alan Cox <alan@lxorguk.ukuu.org.uk> Date: Wed Apr 30 00:54:05 2008 -0700 serial167: switch to int put_char method missed one case when adding return values. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/char/serial167.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/serial167.c b/drivers/char/serial167.c
index fd2db07a50fc..3b23270eaa65 100644
--- a/drivers/char/serial167.c
+++ b/drivers/char/serial167.c
@@ -1073,7 +1073,7 @@ static int cy_put_char(struct tty_struct *tty, unsigned char ch)
1073 return 0; 1073 return 0;
1074 1074
1075 if (!info->xmit_buf) 1075 if (!info->xmit_buf)
1076 return; 1076 return 0;
1077 1077
1078 local_irq_save(flags); 1078 local_irq_save(flags);
1079 if (info->xmit_cnt >= PAGE_SIZE - 1) { 1079 if (info->xmit_cnt >= PAGE_SIZE - 1) {