]> git.hungrycats.org Git - linux/commitdiff
[PATCH] fix the scsi_logging_level fix
authorChristoph Hellwig <hch@lst.de>
Wed, 3 Sep 2003 12:17:00 +0000 (07:17 -0500)
committerJames Bottomley <jejb@raven.il.steeleye.com>
Wed, 3 Sep 2003 12:17:00 +0000 (07:17 -0500)
We already had a prototype for it, it just was conditional on
CONFIG_SCSI_LOGGING..

drivers/scsi/scsi_logging.h

index 2c6bcc971d582f139ad1fc48e7d05842ff6b5de0..b0a31a11ffcf7a63ada309e58512fb54d4934985 100644 (file)
@@ -37,9 +37,9 @@
 #define SCSI_LOG_HLCOMPLETE_BITS          3
 #define SCSI_LOG_IOCTL_BITS               3
 
+extern unsigned int scsi_logging_level;
 
 #ifdef CONFIG_SCSI_LOGGING
-extern unsigned int scsi_logging_level;
 #define SCSI_CHECK_LOGGING(SHIFT, BITS, LEVEL, CMD)            \
 {                                                              \
         unsigned int mask = (1 << (BITS)) - 1;                 \
@@ -76,6 +76,4 @@ extern unsigned int scsi_logging_level;
 #define SCSI_LOG_IOCTL(LEVEL,CMD)  \
         SCSI_CHECK_LOGGING(SCSI_LOG_IOCTL_SHIFT, SCSI_LOG_IOCTL_BITS, LEVEL,CMD);
 
-extern unsigned int scsi_logging_level;
-
 #endif /* _SCSI_LOGGING_H */