* [PATCH] fix the scsi_logging_level fix
@ 2003-08-28 10:24 Christoph Hellwig
0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2003-08-28 10:24 UTC (permalink / raw)
To: James Bottomley; +Cc: linux-scsi
We already had a prototype for it, it just was conditional on
CONFIG_SCSI_LOGGING..
--- 1.3/drivers/scsi/scsi_logging.h Wed Aug 27 00:45:29 2003
+++ edited/drivers/scsi/scsi_logging.h Thu Aug 28 10:49:51 2003
@@ -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; \
@@ -75,7 +75,5 @@
SCSI_CHECK_LOGGING(SCSI_LOG_HLCOMPLETE_SHIFT, SCSI_LOG_HLCOMPLETE_BITS, LEVEL,CMD);
#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 */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-08-28 10:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-28 10:24 [PATCH] fix the scsi_logging_level fix Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox