code tidyness xen/tools/symbol.c
PATCH 1/1 code tidyness xen/tools/symbol.c
Fix where "!" operator used in Bitwise operation.
In IBM we have an internal source code scanner called BEAM. We have run it against Xen and here are some of the results.
Signed-off-by Jerone Young <[email protected]>
tools/symbols.c 2005-08-11 08:06:46.000000000 -0500 renamed from tools/symbols.c.old 2005-08-11 07:42:27.000000000 -0500 +1 -1
@@ -311,7 +311,7 @@ write_src(void) off = 0; for (i = 0; i < cnt; i++) { - if (!table[i].flags & SYM_FLAG_VALID) + if (!(table[i].flags & SYM_FLAG_VALID)) continue; if ((valid & 0xFF) == 0)
Signature · 4 lines
Jerone Young IBM Linux Technology Center [email protected] 512-838-1157 (T/L: 678-1157)