Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Geert Uytterhoeven and committed by
Linus Torvalds
63a59fa7 ab1a8521

+1 -1
+1 -1
drivers/char/serial167.c
··· 1073 1073 return 0; 1074 1074 1075 1075 if (!info->xmit_buf) 1076 - return; 1076 + return 0; 1077 1077 1078 1078 local_irq_save(flags); 1079 1079 if (info->xmit_cnt >= PAGE_SIZE - 1) {