mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: <jes@trained-monkey.org>
To: olivier.lebaillif@ifrsys.com
Cc: alan@redhat.com, torvalds@transmeta.com, linux-kernel@vger.kernel.org
Subject: [patch] dz.c 64 bit locking issues
Date: Thu, 16 Aug 2001 00:26:36 -0400	[thread overview]
Message-ID: <200108160426.f7G4QaA19434@savage.trained-monkey.org> (raw)

Hi

The dz.c driver has an instance where it does save_flags() to a 32 bit
type which isn't safe for 64 bit boxen.

Jes

--- drivers/char/dz.c~	Wed Jul  4 17:41:33 2001
+++ drivers/char/dz.c	Thu Aug 16 00:24:48 2001
@@ -1279,7 +1279,8 @@
 
 int __init dz_init(void)
 {
-  int i, flags;
+  int i;
+  unsigned long flags;
   struct dz_serial *info;
 
   /* Setup base handler, and timer table. */

             reply	other threads:[~2001-08-16  4:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-16  4:26 jes [this message]
2001-08-17 14:40 ` Ralf Baechle
2001-08-17 15:57   ` Maciej W. Rozycki
2001-08-17 15:59   ` Jes Sorensen
2001-08-16  4:30 jes

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=200108160426.f7G4QaA19434@savage.trained-monkey.org \
    --to=jes@trained-monkey.org \
    --cc=alan@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=olivier.lebaillif@ifrsys.com \
    --cc=torvalds@transmeta.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®