scst_debug.h: Kernel v4.5 build fix (merge r6795 from trunk)

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6796 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2016-02-16 19:20:18 +00:00
parent 3f7401425c
commit c9c89dc633
+2 -2
View File
@@ -245,7 +245,7 @@ do { \
#define TRACING_MINOR() (false)
#define TRACE(trace, format, args...) \
((void)(trace), no_printk(format, ##args))
do { (void)(trace); no_printk(format, ##args); } while (0)
#define PRINT_BUFFER(message, buff, len) \
((void)(message), (void)(buff), (void)(len))
#define PRINT_BUFF_FLAG(flag, message, buff, len) \
@@ -391,7 +391,7 @@ do { \
#define TRACE_SG(format, args...) no_printk(format, ##args)
#define TRACE_DBG(format, args...) no_printk(format, ##args)
#define TRACE_DBG_FLAG(flag, format, args...) \
((void)(flag), no_printk(format, ##args))
do { (void)(flag); no_printk(format, ##args); } while (0)
#define TRACE_DBG_SPECIAL(format, args...) no_printk(format, ##args)
#define TRACE_MGMT_DBG(format, args...) no_printk(format, ##args)
#define TRACE_MGMT_DBG_SPECIAL(format, args...) no_printk(format, ##args)