public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <ak@muc.de>
To: linux-scsi@vger.kernel.org,
	James.Bottomley@HansenPartnership.com, ipslinux@adaptec.com
Subject: [PATCH] Allow x86-64 compilation for ips.c
Date: Sun, 10 Aug 2003 16:15:10 +0200	[thread overview]
Message-ID: <20030810141510.GA13602@averell> (raw)


ips.c seems to work on x86-64 fine. Disable the rogue error checking
for unsupported architectures.

Also make this check a soft error, not a hard error.

-Andi

diff -burpN -X ../KDIFX linux/drivers/scsi/ips.c linux-2.6.0test3-amd64/drivers/scsi/ips.c
--- linux/drivers/scsi/ips.c	2003-08-09 16:48:09.000000000 +0200
+++ linux-2.6.0test3-amd64/drivers/scsi/ips.c	2003-08-09 16:50:20.000000000 +0200
@@ -198,8 +198,8 @@
 #define IPS_VERSION_LOW         ".01-BETA"
 
 
-#if !defined(__i386__) && !defined(__ia64__)
-   #error "This driver has only been tested on the x86/ia64 platforms"
+#if !defined(__i386__) && !defined(__ia64__) && !defined(__x86_64__)
+   #warning "This driver has only been tested on the x86/ia64 platforms"
 #endif
 
 #if LINUX_VERSION_CODE <= KERNEL_VERSION(2,5,0)

             reply	other threads:[~2003-08-10 14:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-10 14:15 Andi Kleen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-08-11 11:48 [PATCH] Allow x86-64 compilation for ips.c Hammer, Jack
2003-08-11 22:38 ` James Bottomley
2003-08-11 22:52 ` Andi Kleen
2003-08-11 22:57   ` Andi Kleen

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=20030810141510.GA13602@averell \
    --to=ak@muc.de \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=ipslinux@adaptec.com \
    --cc=linux-scsi@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