aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/9p/9p.h
diff options
context:
space:
mode:
authorEric Van Hensbergen <ericvh@gmail.com>2008-10-22 19:47:40 -0400
committerEric Van Hensbergen <ericvh@opteron.(none)>2008-10-22 19:47:40 -0400
commit0b15a3a5285bac2a2caa4ef970410674b6dd2de5 (patch)
tree219c22a3cc1ab961bff46308e64288ed63ff034d /include/net/9p/9p.h
parent2515ddc6db8eb49a79f0fe5e67ff09ac7c81eab4 (diff)
9p: fix debug build error
Fixes build problem with 9p when building with debug disabled. Also contains some fixes for warnings which pop up when CONFIG_NET_9P_DEBUG is disabled. Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'include/net/9p/9p.h')
-rw-r--r--include/net/9p/9p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/9p/9p.h b/include/net/9p/9p.h
index d2c60c73619..b77c1478c99 100644
--- a/include/net/9p/9p.h
+++ b/include/net/9p/9p.h
@@ -56,9 +56,9 @@ enum p9_debug_flags {
56 P9_DEBUG_PKT = (1<<10), 56 P9_DEBUG_PKT = (1<<10),
57}; 57};
58 58
59#ifdef CONFIG_NET_9P_DEBUG
59extern unsigned int p9_debug_level; 60extern unsigned int p9_debug_level;
60 61
61#ifdef CONFIG_NET_9P_DEBUG
62#define P9_DPRINTK(level, format, arg...) \ 62#define P9_DPRINTK(level, format, arg...) \
63do { \ 63do { \
64 if ((p9_debug_level & level) == level) {\ 64 if ((p9_debug_level & level) == level) {\