From: David Howells Date: Tue, 22 Jul 2008 10:18:43 +0000 (+0100) Subject: Fix the (i)Stallion driver's putchar() and break_ctl() ops X-Git-Tag: v2.6.27-rc1~880 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a56122297ac7a4a3bf09fb66c0a365a13abe707;p=pandora-kernel.git Fix the (i)Stallion driver's putchar() and break_ctl() ops Fix the Stallion driver's putchar() and break_ctl() ops and iStallion's putchar() to return values. Is it actually possible for putchar() or break_ctl() to be called with tty == NULL or can the check be discarded? Should stl_write() be returning 0 if tty->driver_data is NULL or tx.buf is NULL? Is this even possible? I've made Stallion's functions return -EINVAL as stli_breakctl() if the checks fail. Signed-off-by: David Howells Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed