All of lore.kernel.org
 help / color / mirror / Atom feed
From: "O.Sezer" <sezero@superonline.com>
To: linux-kernel@vger.kernel.org
Subject: Re: 2.4.23-pre7-pac1
Date: Mon, 13 Oct 2003 21:41:52 +0300	[thread overview]
Message-ID: <3F8AF1F0.9080606@superonline.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 124 bytes --]

drivers/char/rocket.c is missing the tty->count  -->
atomic_read(&tty->count) change. Patch attached.

Regards;
Özkan Sezer

[-- Attachment #2: rocket.c-tty-fix.patch --]
[-- Type: text/plain, Size: 428 bytes --]

--- ./drivers/char/rocket.c.orig	2003-10-13 12:58:33.000000000 +0300
+++ ./drivers/char/rocket.c	2003-10-13 20:10:05.000000000 +0300
@@ -1052,7 +1052,7 @@
 		restore_flags(flags);
 		return;
 	}
-	if ((tty->count == 1) && (info->count != 1)) {
+	if ((atomic_read(&tty->count) == 1) && (info->count != 1)) {
 		/*
 		 * Uh, oh.  tty->count is 1, which means that the tty
 		 * structure will be freed.  Info->count should always

             reply	other threads:[~2003-10-13 18:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-13 18:41 O.Sezer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-10-13 18:48 2.4.23-pre7-pac1 O.Sezer
2003-10-13 12:28 2.4.23-pre7-pac1 O.Sezer
2003-10-14 11:53 ` 2.4.23-pre7-pac1 Bernhard Rosenkraenzer
2003-10-12 22:18 2.4.23-pre7-pac1 Bernhard Rosenkraenzer
2003-10-12 23:01 ` 2.4.23-pre7-pac1 Marcos D. Marado Torres
2003-10-13  8:27   ` 2.4.23-pre7-pac1 Zwane Mwaikambo
2003-10-13 10:38     ` 2.4.23-pre7-pac1 Marcos D. Marado Torres

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=3F8AF1F0.9080606@superonline.com \
    --to=sezero@superonline.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.