David Howells 4a56122297 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 <dhowells@redhat.com>
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-07-22 13:03:28 -07:00
..
2008-07-16 11:07:59 +10:00
2008-07-04 10:40:05 -07:00
2008-07-22 13:03:28 -07:00
2008-07-16 23:27:03 +02:00
2008-07-02 15:06:24 -06:00
2008-07-21 10:43:26 -07:00
2008-07-17 21:38:17 -07:00
2008-07-22 13:03:28 -07:00
2008-07-22 13:03:28 -07:00
2008-07-20 17:24:39 -07:00
2008-07-16 11:07:59 +10:00
2008-07-20 17:24:38 -07:00