You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xserver/hw/xfree86/int10
Alan Coopersmith e538601128 int10: wrap entire V_ADDR_R* macros in parens for safer expansion
Resolves warnings from Oracle Parfait static analyser:

Error: Misleading macro
   Misleading macro [misleading-macro]:
      misleading evaluation of ternary '?:' operator in expansion of macro V_ADDR_RB due to missing parentheses
        at line 392 of hw/xfree86/int10/generic.c.
        '|' operator has higher precedence than ternary '?:' operator inside macro body at line 431
        low precedence ternary '?:' operator is hidden by expansion of macro V_ADDR_RB at line 431
   Misleading macro [misleading-macro]:
      misleading evaluation of ternary '?:' operator in expansion of macro V_ADDR_RB due to missing parentheses
        at line 392 of hw/xfree86/int10/generic.c.
        '<<' operator has higher precedence than ternary '?:' operator inside macro body at line 431
        low precedence ternary '?:' operator is hidden by expansion of macro V_ADDR_RB at line 431
   Misleading macro [misleading-macro]:
      misleading evaluation of ternary '?:' operator in expansion of macro V_ADDR_RB due to missing parentheses
        at line 392 of hw/xfree86/int10/generic.c.
        '<<' operator has higher precedence than ternary '?:' operator inside macro body at line 442
        low precedence ternary '?:' operator is hidden by expansion of macro V_ADDR_RB at line 442
   Misleading macro [misleading-macro]:
      misleading evaluation of ternary '?:' operator in expansion of macro V_ADDR_RB due to missing parentheses
        at line 392 of hw/xfree86/int10/generic.c.
        '<<' operator has higher precedence than ternary '?:' operator inside macro body at line 443
        low precedence ternary '?:' operator is hidden by expansion of macro V_ADDR_RB at line 443
   Misleading macro [misleading-macro]:
      misleading evaluation of ternary '?:' operator in expansion of macro V_ADDR_RB due to missing parentheses
        at line 392 of hw/xfree86/int10/generic.c.
        '|' operator has higher precedence than ternary '?:' operator inside macro body at line 443
        low precedence ternary '?:' operator is hidden by expansion of macro V_ADDR_RB at line 441
   Misleading macro [misleading-macro]:
      misleading evaluation of ternary '?:' operator in expansion of macro V_ADDR_RB due to missing parentheses
        at line 392 of hw/xfree86/int10/generic.c.
        '<<' operator has higher precedence than ternary '?:' operator inside macro body at line 443
        low precedence ternary '?:' operator is hidden by expansion of macro V_ADDR_RB at line 443

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
4 years ago
..
INT10.HOWTO Fix spelling/wording issues 4 years ago
Makefile.am xfree86: Merge vbe into int10 5 years ago
generic.c int10: wrap entire V_ADDR_R* macros in parens for safer expansion 4 years ago
helper_exec.c Fix spelling/wording issues 4 years ago
helper_mem.c Replace 'pointer' type with 'void *' 11 years ago
meson.build xfree86: Merge vbe into int10 5 years ago
stub.c int10: fix build error 11 years ago
vbe.c Fix spelling/wording issues 4 years ago
vbe.h Fix spelling/wording issues 4 years ago
vbeModes.c Fix spelling/wording issues 4 years ago
vbeModes.h xfree86: Merge vbe into int10 5 years ago
x86emu.c Remove libcwrapper usage from xorg server modules. The libcwrapper is only 19 years ago
xf86int10.c Fix spelling/wording issues 4 years ago
xf86int10.h Replace 'pointer' type with 'void *' 11 years ago
xf86int10module.c Introduce a consistent coding style 13 years ago
xf86x86emu.c x86emu: Change include order to avoid conflict with system header 9 years ago
xf86x86emu.h Remove RCS tags. Fix Xprint makefile braindamage. 19 years ago