public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* TTY Driver Open and Close Logic
@ 2001-12-18 12:58 Telford002
  2001-12-18 14:16 ` Alan Cox
  2001-12-18 16:48 ` Russell King
  0 siblings, 2 replies; 4+ messages in thread
From: Telford002 @ 2001-12-18 12:58 UTC (permalink / raw)
  To: linux-kernel

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

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

end of thread, other threads:[~2001-12-18 16:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-18 12:58 TTY Driver Open and Close Logic Telford002
2001-12-18 14:16 ` Alan Cox
2001-12-18 16:55   ` Russell King
2001-12-18 16:48 ` Russell King

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