projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48d8332
)
[SCTP]: Fix unintentional change to SCTP_ASSERT when !SCTP_DEBUG
author
David S. Miller
<davem@sunset.davemloft.net>
Tue, 20 Jun 2006 07:07:52 +0000
(
00:07
-0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Tue, 20 Jun 2006 07:07:52 +0000
(
00:07
-0700)
A local debugging change slipped into a previous changeset.
When SCTP_DEBUG is off SCTP_ASSERT should do nothing.
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/sctp.h
patch
|
blob
|
history
diff --git
a/include/net/sctp/sctp.h
b/include/net/sctp/sctp.h
index
b2b40f9
..
aa6033c
100644
(file)
--- a/
include/net/sctp/sctp.h
+++ b/
include/net/sctp/sctp.h
@@
-255,7
+255,7
@@
extern int sctp_debug_flag;
#define SCTP_DEBUG_PRINTK_IPADDR(whatever...)
#define SCTP_ENABLE_DEBUG
#define SCTP_DISABLE_DEBUG
-#define SCTP_ASSERT(expr, str, func)
BUG_ON(!(expr))
+#define SCTP_ASSERT(expr, str, func)
#endif /* SCTP_DEBUG */