mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Norbert Rooss <zaeld@gmx.de>
To: linux-kernel@vger.kernel.org
Subject: tty drivers: Is put_char mandatory?
Date: Mon, 28 Oct 2002 12:38:05 +0100 (MET)	[thread overview]
Message-ID: <11192.1035805085@www42.gmx.net> (raw)


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!


             reply	other threads:[~2002-10-28 11:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-28 11:38 Norbert Rooss [this message]
2002-10-28 14:57 ` Norbert Rooss

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=11192.1035805085@www42.gmx.net \
    --to=zaeld@gmx.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®