From: Telford002@aol.com
To: linux-kernel@vger.kernel.org
Subject: TTY Driver Open and Close Logic
Date: Tue, 18 Dec 2001 07:58:46 EST [thread overview]
Message-ID: <e5.10e6703a.29509786@aol.com> (raw)
Hi,
I have been working on various serial drivers and I notice that physical
driver close routine is called in all cases even if the physical driver
open routine fails. That suggests to me that a lot of the MOD_DEC/INC_COUNT
logic in serial.c and other physical serial drivers is incorrect. As
serial.c seems usually to be compiled into the kernel the issue
is not so important, but a lot of the other logic associated with
open counts also seems incorrect. Is this observation correct?
Joachim Martillo
next reply other threads:[~2001-12-18 12:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-18 12:58 Telford002 [this message]
2001-12-18 14:16 ` TTY Driver Open and Close Logic Alan Cox
2001-12-18 16:55 ` Russell King
2001-12-18 16:48 ` Russell King
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=e5.10e6703a.29509786@aol.com \
--to=telford002@aol.com \
--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