From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Michael Breuer <mbreuer@majjas.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: tty_io.c - disassociate_ctty attempted to write to tty = NULL question/problem?
Date: Tue, 5 Jan 2010 10:47:46 +0000 [thread overview]
Message-ID: <20100105104746.095e5745@lxorguk.ukuu.org.uk> (raw)
In-Reply-To: <4B42D297.5010702@majjas.com>
> Ok - thanks - added a WARN_ON(!tty) right after the second call to
> get_current_tty() in disassociate_ctty()
Thsats a perfectly valid path. Its whatever is doing the write you need
to catch. Having a NULL current tty is perfectly acceptable.
prev parent reply other threads:[~2010-01-05 10:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-04 23:01 Michael Breuer
2010-01-05 0:12 ` Alan Cox
2010-01-05 5:48 ` Michael Breuer
2010-01-05 10:47 ` Alan Cox [this message]
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=20100105104746.095e5745@lxorguk.ukuu.org.uk \
--to=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=mbreuer@majjas.com \
/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®