提交 63a59fa7 编写于 作者: G Geert Uytterhoeven 提交者: Linus Torvalds

m68k: serial167 missing return value in cy_put_char()

    commit a5b08c66
    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: NGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 ab1a8521
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册