|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] 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 <jyoung5@xxxxxxxxxx>
--- xen/tools/symbols.c.old 2005-08-11 07:42:27.000000000 -0500
+++ xen/tools/symbols.c 2005-08-11 08:06:46.000000000 -0500
@@ -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)
--
Jerone Young
IBM Linux Technology Center
jyoung5@xxxxxxxxxx
512-838-1157 (T/L: 678-1157)
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] code tidyness xen/tools/symbol.c,
Jerone Young <=
|
|
|
|
|