[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Fix where "!" operator used in Bitwise operation.
# HG changeset patch # User kaf24@xxxxxxxxxxxxxxxxxxxx # Node ID 37ac3cf335066dfe0ab67809ac2809fede081cea # Parent 10b395bc465ea7ac73302d4987b05f40ee023b22 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> diff -r 10b395bc465e -r 37ac3cf33506 xen/tools/symbols.c --- a/xen/tools/symbols.c Thu Aug 11 13:07:08 2005 +++ b/xen/tools/symbols.c Thu Aug 11 16:23:54 2005 @@ -311,7 +311,7 @@ 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) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |