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-20 17:12:34 -07:00
2008-07-02 15:06:23 -06:00
2008-07-22 13:03:28 -07:00
2008-07-20 17:12:36 -07:00
2008-06-20 14:05:51 -06:00
2008-07-22 13:03:28 -07:00
2008-06-20 14:05:55 -06:00
2008-07-22 13:03:28 -07:00
2008-06-20 14:05:56 -06:00
2008-06-20 14:05:56 -06:00
2008-06-20 14:05:56 -06:00
2008-07-22 13:03:28 -07:00
2008-07-20 17:12:36 -07:00
2008-07-22 13:03:28 -07:00
2008-07-20 17:12:36 -07:00
2008-06-20 14:05:57 -06:00
2008-06-20 14:05:57 -06:00
2008-05-27 10:11:37 +02:00
2008-06-20 14:05:57 -06:00
2008-07-22 13:03:28 -07:00
2008-06-20 14:05:58 -06:00
2008-06-20 14:05:48 -06:00
2008-06-20 14:05:48 -06:00
2008-06-20 14:05:48 -06:00
2008-07-22 13:03:28 -07:00
2008-04-30 08:29:43 -07:00
2008-07-22 13:03:28 -07:00
2008-07-20 17:12:34 -07:00
2008-07-20 17:12:34 -07:00
2008-07-20 17:12:34 -07:00
2008-07-20 17:12:34 -07:00
2008-06-20 14:05:51 -06:00
2008-07-20 17:12:38 -07:00
2008-07-20 17:12:38 -07:00
2008-07-22 13:03:28 -07:00
2008-07-20 17:12:38 -07:00
2008-07-14 15:29:34 -06:00
2008-07-20 17:12:34 -07:00
2008-06-20 14:05:50 -06:00
2008-07-02 15:06:25 -06:00
2008-07-20 17:12:38 -07:00
2008-07-22 13:03:27 -07:00
2008-07-22 13:03:28 -07:00
2008-07-22 13:03:28 -07:00
2008-07-22 13:03:28 -07:00
2008-07-22 13:03:28 -07:00
2008-06-20 14:05:51 -06:00
2008-04-30 23:15:34 +02:00
2008-05-01 13:08:16 -04:00
2008-07-22 13:03:28 -07:00
2008-07-20 17:12:34 -07:00
2008-06-20 14:05:51 -06:00
2008-07-22 13:03:28 -07:00
2008-04-30 08:29:40 -07:00
2008-06-06 11:29:12 -07:00