]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
[SCSI] sun3: Add various missing NDEBUG* definitions
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 13 Jun 2011 18:39:21 +0000 (20:39 +0200)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 29 Jun 2011 20:14:54 +0000 (15:14 -0500)
This fixes a.o.:

drivers/scsi/sun3_scsi.h:225:5: warning: "NDEBUG" is not defined
drivers/scsi/sun3_scsi.h:345:14: warning: "NDEBUG_ABORT" is not defined
drivers/scsi/sun3_scsi.h:351:14: warning: "NDEBUG_TAGS" is not defined
drivers/scsi/sun3_scsi.h:357:14: warning: "NDEBUG_MERGING" is not defined

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/sun3_scsi.c
drivers/scsi/sun3_scsi_vme.c

index 2cc83ef3f37f71fc0c621ffa6baa1a62a7dbd3ca..baf7328de95681d6d71db2aeb9a13b7265646518 100644 (file)
 #include <asm/idprom.h>
 #include <asm/machines.h>
 
+#define NDEBUG 0
+
+#define NDEBUG_ABORT           0x00100000
+#define NDEBUG_TAGS            0x00200000
+#define NDEBUG_MERGING         0x00400000
+
 /* dma on! */
 #define REAL_DMA
 
@@ -86,8 +92,6 @@ static void NCR5380_print(struct Scsi_Host *instance);
 /*#define RESET_BOOT */
 #define DRIVER_SETUP
 
-#define NDEBUG 0
-
 /*
  * BUG can be used to trigger a strange code-size related hang on 2.1 kernels
  */
index c0252db4da68121f70ffdc0289d0d5ab42a683c8..fbba78e5722e604f09555c0ae713c5db3afb8c5d 100644 (file)
 /* dma on! */
 #define REAL_DMA
 
+#define NDEBUG 0
+
+#define NDEBUG_ABORT           0x00100000
+#define NDEBUG_TAGS            0x00200000
+#define NDEBUG_MERGING         0x00400000
+
 #include "scsi.h"
 #include "initio.h"
 #include <scsi/scsi_host.h>
@@ -50,8 +56,6 @@ extern int sun3_map_test(unsigned long, char *);
 /*#define RESET_BOOT */
 #define DRIVER_SETUP
 
-#define NDEBUG 0
-
 /*
  * BUG can be used to trigger a strange code-size related hang on 2.1 kernels
  */