mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: <jes@trained-monkey.org>
To: alan@redhat.com
Cc: torvalds@transmeta.com, linux-kernel@vger.kernel.org
Subject: [patch] 64 bit bug in video1394.c
Date: Thu, 16 Aug 2001 00:49:56 -0400	[thread overview]
Message-ID: <200108160449.f7G4nu619552@savage.trained-monkey.org> (raw)

Hi

drivers/message/i2o/i2o_block.c cpu flags in 'int' which breaks on 64
bit boxes.

Here's a patch.

Jes

--- drivers/message/i2o/i2o_block.c~	Wed Aug  8 00:08:04 2001
+++ drivers/message/i2o/i2o_block.c	Thu Aug 16 00:48:19 2001
@@ -721,7 +721,7 @@
 static int i2ob_evt(void *dummy)
 {
 	unsigned int evt;
-	unsigned int flags;
+	unsigned long flags;
 	int unit;
 	int i;
 	//The only event that has data is the SCSI_SMART event.
@@ -1706,7 +1706,7 @@
 {	
 	int unit = 0;
 	int i = 0;
-	int flags;
+	unsigned long flags;
 
 	spin_lock_irqsave(&io_request_lock, flags);
 

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

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-16  4:49 jes [this message]
2001-08-16  5:08 ` Jeff Chua
  -- strict thread matches above, loose matches on Subject: below --
2001-08-16  4:53 jes
2001-08-16  4:47 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=200108160449.f7G4nu619552@savage.trained-monkey.org \
    --to=jes@trained-monkey.org \
    --cc=alan@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --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®