mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* tty drivers: Is put_char mandatory?
@ 2002-10-28 11:38 Norbert Rooss
  2002-10-28 14:57 ` Norbert Rooss
  0 siblings, 1 reply; 2+ messages in thread
From: Norbert Rooss @ 2002-10-28 11:38 UTC (permalink / raw)
  To: linux-kernel


Hello!

Simple question: Is the implementation of the function put_char() for tty
drivers mandatory? (Defined in include/linux/tty_driver.h, struct tty_driver)

Because if it is not, then there is a bug in drivers/char/n_tty.c, where the
driver specific put_char gets called without a check for availability (in
function opost())

On the other hand, if it is mandatory, then there is a bug in the USB serial
part, as usbserial.c does not implement put_char()...
(drivers/usb/serial/usbserial.c)

bye
Norbert

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-10-28 14:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-28 11:38 tty drivers: Is put_char mandatory? Norbert Rooss
2002-10-28 14:57 ` Norbert Rooss

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®