Skip to content

Commit

Permalink
m68k: serial167 missing return value in cy_put_char()
Browse files Browse the repository at this point in the history
    commit a5b08c6
    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>
  • Loading branch information
Geert Uytterhoeven authored and Linus Torvalds committed May 5, 2008
1 parent ab1a852 commit 63a59fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/serial167.c
Original file line number Diff line number Diff line change
Expand Up @@ -1073,7 +1073,7 @@ static int cy_put_char(struct tty_struct *tty, unsigned char ch)
return 0;

if (!info->xmit_buf)
return;
return 0;

local_irq_save(flags);
if (info->xmit_cnt >= PAGE_SIZE - 1) {
Expand Down

0 comments on commit 63a59fa

Please sign in to comment.