projects
/
yaffs2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ae68942
)
yaffs direct: Fix trace ALWAYS issue
author
Charles Manning
<cdhmanning@gmail.com>
Fri, 7 Jan 2011 01:26:01 +0000
(14:26 +1300)
committer
Charles Manning
<cdhmanning@gmail.com>
Fri, 7 Jan 2011 01:26:01 +0000
(14:26 +1300)
Trace ALWAYS was done wrong in the macro. Just make it another bitmap.
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
direct/ydirectenv.h
patch
|
blob
|
history
diff --git
a/direct/ydirectenv.h
b/direct/ydirectenv.h
index 63cd6d85182b1f1b899af05a306e50a809e3a431..7063fa649fb25b4e0329ae9ff43925d45bc0d86b 100644
(file)
--- a/
direct/ydirectenv.h
+++ b/
direct/ydirectenv.h
@@
-61,7
+61,7
@@
void yaffs_qsort(void *aa, size_t n, size_t es,
#define cond_resched() do {} while(0)
#define yaffs_trace(msk, fmt, ...) do { \
- if(yaffs_trace_mask & (
(msk) | YAFFS_TRACE_ALWAYS
)) \
+ if(yaffs_trace_mask & (
msk
)) \
printf("yaffs: " fmt "\n", ##__VA_ARGS__); \
} while(0)