drivers/scsi/aic7xxx/aic7xxx_core.c -Werror causes build to stop

From: Kees Bakker (kees.bakker@altium.nl)
Date: Fri Jun 27 2003 - 05:17:19 EST


To build 2.5.73 using my SuSE 8.2 system (gcc 3.3) I need the following
patch:

--- linux-2.5.73/drivers/scsi/aic7xxx/Makefile.orig 2003-06-22 20:33:34.000000000 +0200
+++ linux-2.5.73/drivers/scsi/aic7xxx/Makefile 2003-06-27 10:38:40.000000000 +0200
@@ -33,7 +33,7 @@
                                                    aic79xx_proc.o \
                                                    aic79xx_osm_pci.o
 
-EXTRA_CFLAGS += -Idrivers/scsi -Werror
+EXTRA_CFLAGS += -Idrivers/scsi -Werror -Wno-sign-compare
 #EXTRA_CFLAGS += -g
 
 # Files generated that shall be removed upon make clean
--- linux-2.5.73/drivers/scsi/aic7xxx/aic7xxx_core.c.orig 2003-06-22 20:32:43.000000000 +0200
+++ linux-2.5.73/drivers/scsi/aic7xxx/aic7xxx_core.c 2003-06-27 11:35:37.000000000 +0200
@@ -73,7 +73,6 @@
         "aic7892",
         "aic7899"
 };
-static const u_int num_chip_names = NUM_ELEMENTS(ahc_chip_names);
 
 /*
  * Hardware error codes.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jun 30 2003 - 22:00:26 EST