Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
drivers
/
scsi
/
mpt3sas
/
mpt3sas_debug.h
diff --git
a/kernel/drivers/scsi/mpt3sas/mpt3sas_debug.h
b/kernel/drivers/scsi/mpt3sas/mpt3sas_debug.h
index
4e8a63f
..
cceeb2c
100644
(file)
--- a/
kernel/drivers/scsi/mpt3sas/mpt3sas_debug.h
+++ b/
kernel/drivers/scsi/mpt3sas/mpt3sas_debug.h
@@
-68,20
+68,11
@@
#define MPT_DEBUG_TRIGGER_DIAG 0x00200000
#define MPT_DEBUG_TRIGGER_DIAG 0x00200000
-/*
- * CONFIG_SCSI_MPT3SAS_LOGGING - enabled in Kconfig
- */
-
-#ifdef CONFIG_SCSI_MPT3SAS_LOGGING
#define MPT_CHECK_LOGGING(IOC, CMD, BITS) \
{ \
if (IOC->logging_level & BITS) \
CMD; \
}
#define MPT_CHECK_LOGGING(IOC, CMD, BITS) \
{ \
if (IOC->logging_level & BITS) \
CMD; \
}
-#else
-#define MPT_CHECK_LOGGING(IOC, CMD, BITS)
-#endif /* CONFIG_SCSI_MPT3SAS_LOGGING */
-
/*
* debug macros
/*
* debug macros
@@
-153,7
+144,7
@@
/* inline functions for dumping debug data*/
/* inline functions for dumping debug data*/
-#ifdef CONFIG_SCSI_MPT3SAS_LOGGING
+
/**
* _debug_dump_mf - print message frame contents
* @mpi_request: pointer to message frame
/**
* _debug_dump_mf - print message frame contents
* @mpi_request: pointer to message frame
@@
-211,10
+202,5
@@
_debug_dump_config(void *mpi_request, int sz)
}
pr_info("\n");
}
}
pr_info("\n");
}
-#else
-#define _debug_dump_mf(mpi_request, sz)
-#define _debug_dump_reply(mpi_request, sz)
-#define _debug_dump_config(mpi_request, sz)
-#endif /* CONFIG_SCSI_MPT3SAS_LOGGING */
#endif /* MPT3SAS_DEBUG_H_INCLUDED */
#endif /* MPT3SAS_DEBUG_H_INCLUDED */