Commit 2ba51ea2 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by James Bottomley

[SCSI] sun3: Add various missing NDEBUG* definitions

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: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent 0cb8cd76
...@@ -70,6 +70,12 @@ ...@@ -70,6 +70,12 @@
#include <asm/idprom.h> #include <asm/idprom.h>
#include <asm/machines.h> #include <asm/machines.h>
#define NDEBUG 0
#define NDEBUG_ABORT 0x00100000
#define NDEBUG_TAGS 0x00200000
#define NDEBUG_MERGING 0x00400000
/* dma on! */ /* dma on! */
#define REAL_DMA #define REAL_DMA
...@@ -86,8 +92,6 @@ static void NCR5380_print(struct Scsi_Host *instance); ...@@ -86,8 +92,6 @@ static void NCR5380_print(struct Scsi_Host *instance);
/*#define RESET_BOOT */ /*#define RESET_BOOT */
#define DRIVER_SETUP #define DRIVER_SETUP
#define NDEBUG 0
/* /*
* BUG can be used to trigger a strange code-size related hang on 2.1 kernels * BUG can be used to trigger a strange code-size related hang on 2.1 kernels
*/ */
......
...@@ -39,6 +39,12 @@ ...@@ -39,6 +39,12 @@
/* dma on! */ /* dma on! */
#define REAL_DMA #define REAL_DMA
#define NDEBUG 0
#define NDEBUG_ABORT 0x00100000
#define NDEBUG_TAGS 0x00200000
#define NDEBUG_MERGING 0x00400000
#include "scsi.h" #include "scsi.h"
#include "initio.h" #include "initio.h"
#include <scsi/scsi_host.h> #include <scsi/scsi_host.h>
...@@ -50,8 +56,6 @@ extern int sun3_map_test(unsigned long, char *); ...@@ -50,8 +56,6 @@ extern int sun3_map_test(unsigned long, char *);
/*#define RESET_BOOT */ /*#define RESET_BOOT */
#define DRIVER_SETUP #define DRIVER_SETUP
#define NDEBUG 0
/* /*
* BUG can be used to trigger a strange code-size related hang on 2.1 kernels * BUG can be used to trigger a strange code-size related hang on 2.1 kernels
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment