public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Michael Ellerman <michael@ellerman.id.au>
To: James.Bottomley@SteelEye.com
Cc: linux-scsi@vger.kernel.org, ipslinux@adaptec.com
Subject: [PATCH] Remove #warning cruft from drivers/scsi/ips.c
Date: Tue, 21 Nov 2006 17:14:10 +1100	[thread overview]
Message-ID: <20061121061413.5D10967BF3@ozlabs.org> (raw)

drivers/scsi/ips.c pollutes my build log telling me that it has only
been tested on x86/ia64/x86_64. It's starting to get annoying.

Replace the #warning with a simple comment.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
---

 drivers/scsi/ips.c |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

Index: msi/drivers/scsi/ips.c
===================================================================
--- msi.orig/drivers/scsi/ips.c
+++ msi/drivers/scsi/ips.c
@@ -8,6 +8,8 @@
 /* Copyright (C) 2000 IBM Corporation                                        */
 /* Copyright (C) 2002,2003 Adaptec, Inc.                                     */
 /*                                                                           */
+/* This driver has only been tested on the x86/ia64/x86_64 platforms.        */
+/*                                                                           */
 /* This program is free software; you can redistribute it and/or modify      */
 /* it under the terms of the GNU General Public License as published by      */
 /* the Free Software Foundation; either version 2 of the License, or         */
@@ -207,10 +209,6 @@ module_param(ips, charp, 0);
 #define IPS_VERSION_HIGH        "7.12"
 #define IPS_VERSION_LOW         ".05 "
 
-#if !defined(__i386__) && !defined(__ia64__) && !defined(__x86_64__)
-#warning "This driver has only been tested on the x86/ia64/x86_64 platforms"
-#endif
-
 #if LINUX_VERSION_CODE <= KERNEL_VERSION(2,5,0)
 #include <linux/blk.h>
 #include "sd.h"

             reply	other threads:[~2006-11-21  6:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-21  6:14 Michael Ellerman [this message]
2006-11-21 15:16 ` [PATCH] Remove #warning cruft from drivers/scsi/ips.c James Bottomley
2006-11-21 23:57   ` Michael Ellerman

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=20061121061413.5D10967BF3@ozlabs.org \
    --to=michael@ellerman.id.au \
    --cc=James.Bottomley@SteelEye.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