ia64/xen-unstable

changeset 6109:37ac3cf33506

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@us.ibm.com>
author kaf24@firebug.cl.cam.ac.uk
date Thu Aug 11 16:23:54 2005 +0000 (2005-08-11)
parents 10b395bc465e
children 9d0120a5aa45
files xen/tools/symbols.c
line diff
     1.1 --- a/xen/tools/symbols.c	Thu Aug 11 13:07:08 2005 +0000
     1.2 +++ b/xen/tools/symbols.c	Thu Aug 11 16:23:54 2005 +0000
     1.3 @@ -311,7 +311,7 @@ write_src(void)
     1.4  	off = 0;
     1.5  	for (i = 0; i < cnt; i++) {
     1.6  
     1.7 -		if (!table[i].flags & SYM_FLAG_VALID)
     1.8 +		if (!(table[i].flags & SYM_FLAG_VALID))
     1.9  			continue;
    1.10  
    1.11  		if ((valid & 0xFF) == 0)