public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Remove #warning cruft from drivers/scsi/ips.c
@ 2006-11-21  6:14 Michael Ellerman
  2006-11-21 15:16 ` James Bottomley
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Ellerman @ 2006-11-21  6:14 UTC (permalink / raw)
  To: James.Bottomley; +Cc: linux-scsi, ipslinux

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"

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-11-21 23:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-21  6:14 [PATCH] Remove #warning cruft from drivers/scsi/ips.c Michael Ellerman
2006-11-21 15:16 ` James Bottomley
2006-11-21 23:57   ` Michael Ellerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox