2025-08-29 17:03 ftp://ftp.de.debian.org/debian/pool/main/x/xserver-xorg-video-r128/xserver-xorg-video-r128_6.13.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=motif --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.12.41+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: 478055e (2025-08-29 18:53:24 +0200) count: 2 161 elapsed-time: 0.1 0.5 head-timing-info: old-timing-info: head results: xf86-video-r128-6.13.0/src/compat-api.h:31:0: error: failed to evaluate #if condition, undefined function-like macro invocation: SET_ABI_VERSION( ... ) [preprocessorErrorDirective] xf86-video-r128-6.13.0/src/compat-api.h:31:2: error: failed to evaluate #if condition, undefined function-like macro invocation: SET_ABI_VERSION( ... ) [preprocessorErrorDirective] diff: head xf86-video-r128-6.13.0/src/compat-api.h:31:0: error: failed to evaluate #if condition, undefined function-like macro invocation: SET_ABI_VERSION( ... ) [preprocessorErrorDirective] head xf86-video-r128-6.13.0/src/compat-api.h:31:2: error: failed to evaluate #if condition, undefined function-like macro invocation: SET_ABI_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 xf86-video-r128-6.13.0/src/r128_accel.c:114:38: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] 2.18.0 xf86-video-r128-6.13.0/src/r128_accel.c:167:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_accel.c:192:35: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] 2.18.0 xf86-video-r128-6.13.0/src/r128_accel.c:204:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_crtc.c:1000:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_crtc.c:1006:21: portability: 'info->FB' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 xf86-video-r128-6.13.0/src/r128_crtc.c:1027:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_crtc.c:1035:87: style: Parameter 'data' can be declared as pointer to const. However it seems that 'r128_crtc_shadow_destroy' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xf86-video-r128-6.13.0/src/r128_crtc.c:1067:23: note: You might need to cast the function pointer here xf86-video-r128-6.13.0/src/r128_crtc.c:1035:87: note: Parameter 'data' can be declared as pointer to const 2.18.0 xf86-video-r128-6.13.0/src/r128_crtc.c:1038:19: style: Variable 'pScreen' is assigned a value that is never used. [unreadVariable] 2.18.0 xf86-video-r128-6.13.0/src/r128_crtc.c:1038:27: style: Variable 'pScreen' is assigned a value that is never used. [unreadVariable] 2.18.0 xf86-video-r128-6.13.0/src/r128_crtc.c:1039:19: style: Variable 'info' is assigned a value that is never used. [unreadVariable] 2.18.0 xf86-video-r128-6.13.0/src/r128_crtc.c:1039:27: style: Variable 'info' is assigned a value that is never used. [unreadVariable] 2.18.0 xf86-video-r128-6.13.0/src/r128_crtc.c:1081:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_crtc.c:1127:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DPMSModeOff [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_crtc.c:1144:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DPMSModeOn [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_crtc.c:181:12: style: Variable 'hsync_fudge_default' can be declared as const array [constVariable] 2.18.0 xf86-video-r128-6.13.0/src/r128_crtc.c:191:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_crtc.c:317:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_crtc.c:345:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_crtc.c:562:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] 2.18.0 xf86-video-r128-6.13.0/src/r128_crtc.c:634:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] 2.18.0 xf86-video-r128-6.13.0/src/r128_crtc.c:692:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_crtc.c:70:12: style: Variable 'hsync_fudge_default' can be declared as const array [constVariable] 2.18.0 xf86-video-r128-6.13.0/src/r128_crtc.c:71:12: style: Variable 'hsync_fudge_fp' can be declared as const array [constVariable] 2.18.0 xf86-video-r128-6.13.0/src/r128_crtc.c:770:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_crtc.c:82:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_crtc.c:843:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DPMSModeOn [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_crtc.c:881:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_crtc.c:886:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DPMSModeOff [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_crtc.c:945:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DPMSModeOn [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_crtc.c:948:61: style: Parameter 'red' can be declared as pointer to const. However it seems that 'r128_crtc_gamma_set' is a callback function, if 'red' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xf86-video-r128-6.13.0/src/r128_crtc.c:1062:18: note: You might need to cast the function pointer here xf86-video-r128-6.13.0/src/r128_crtc.c:948:61: note: Parameter 'red' can be declared as pointer to const 2.18.0 xf86-video-r128-6.13.0/src/r128_crtc.c:948:76: style: Parameter 'green' can be declared as pointer to const. However it seems that 'r128_crtc_gamma_set' is a callback function, if 'green' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xf86-video-r128-6.13.0/src/r128_crtc.c:1062:18: note: You might need to cast the function pointer here xf86-video-r128-6.13.0/src/r128_crtc.c:948:76: note: Parameter 'green' can be declared as pointer to const 2.18.0 xf86-video-r128-6.13.0/src/r128_crtc.c:948:93: style: Parameter 'blue' can be declared as pointer to const. However it seems that 'r128_crtc_gamma_set' is a callback function, if 'blue' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xf86-video-r128-6.13.0/src/r128_crtc.c:1062:18: note: You might need to cast the function pointer here xf86-video-r128-6.13.0/src/r128_crtc.c:948:93: note: Parameter 'blue' can be declared as pointer to const 2.18.0 xf86-video-r128-6.13.0/src/r128_crtc.c:965:19: style: Variable 'pScreen' is assigned a value that is never used. [unreadVariable] 2.18.0 xf86-video-r128-6.13.0/src/r128_crtc.c:965:27: style: Variable 'pScreen' is assigned a value that is never used. [unreadVariable] 2.18.0 xf86-video-r128-6.13.0/src/r128_crtc.c:966:19: style: Variable 'info' is assigned a value that is never used. [unreadVariable] 2.18.0 xf86-video-r128-6.13.0/src/r128_crtc.c:966:27: style: Variable 'info' is assigned a value that is never used. [unreadVariable] 2.18.0 xf86-video-r128-6.13.0/src/r128_crtc.c:972:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_crtc.c:978:19: style: Variable 'pScreen' is assigned a value that is never used. [unreadVariable] 2.18.0 xf86-video-r128-6.13.0/src/r128_crtc.c:978:27: style: Variable 'pScreen' is assigned a value that is never used. [unreadVariable] 2.18.0 xf86-video-r128-6.13.0/src/r128_crtc.c:979:19: style: Variable 'info' is assigned a value that is never used. [unreadVariable] 2.18.0 xf86-video-r128-6.13.0/src/r128_crtc.c:979:27: style: Variable 'info' is assigned a value that is never used. [unreadVariable] 2.18.0 xf86-video-r128-6.13.0/src/r128_cursor.c:143:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable V_INTERLACE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_cursor.c:149:9: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] 2.18.0 xf86-video-r128-6.13.0/src/r128_cursor.c:150:9: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] 2.18.0 xf86-video-r128-6.13.0/src/r128_cursor.c:153:9: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] 2.18.0 xf86-video-r128-6.13.0/src/r128_cursor.c:154:9: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] 2.18.0 xf86-video-r128-6.13.0/src/r128_cursor.c:180:31: portability: 'info->FB' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 xf86-video-r128-6.13.0/src/r128_cursor.c:180:58: portability: 'info->FB+r128_crtc->cursor_offset' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 xf86-video-r128-6.13.0/src/r128_cursor.c:183:31: portability: 'info->FB' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 xf86-video-r128-6.13.0/src/r128_cursor.c:183:58: portability: 'info->FB+r128_crtc->cursor_offset' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 xf86-video-r128-6.13.0/src/r128_cursor.c:187:21: portability: 'info->FB' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 xf86-video-r128-6.13.0/src/r128_cursor.c:187:48: portability: 'info->FB+r128_crtc->cursor_offset' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 xf86-video-r128-6.13.0/src/r128_cursor.c:204:14: style: Variable 'osArea' can be declared as pointer to const [constVariablePointer] 2.18.0 xf86-video-r128-6.13.0/src/r128_cursor.c:240:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X_WARNING [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_dri.c:100:17: style: Variable 'info' is assigned a value that is never used. [unreadVariable] 2.18.0 xf86-video-r128-6.13.0/src/r128_dri.c:100:22: style: Variable 'info' is assigned a value that is never used. [unreadVariable] 2.18.0 xf86-video-r128-6.13.0/src/r128_dri.c:1067:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRM_R128_CLEANUP_CCE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_dri.c:1131:25: style: Variable 'info' is assigned a value that is never used. [unreadVariable] 2.18.0 xf86-video-r128-6.13.0/src/r128_dri.c:1131:36: style: Variable 'info' is assigned a value that is never used. [unreadVariable] 2.18.0 xf86-video-r128-6.13.0/src/r128_dri.c:1134:16: style: Variable 'pPix' is assigned a value that is never used. [unreadVariable] 2.18.0 xf86-video-r128-6.13.0/src/r128_dri.c:1134:24: style: Variable 'pPix' is assigned a value that is never used. [unreadVariable] 2.18.0 xf86-video-r128-6.13.0/src/r128_dri.c:1174:16: style: Variable 'pPix' is assigned a value that is never used. [unreadVariable] 2.18.0 xf86-video-r128-6.13.0/src/r128_dri.c:1174:24: style: Variable 'pPix' is assigned a value that is never used. [unreadVariable] 2.18.0 xf86-video-r128-6.13.0/src/r128_dri.c:1243:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X_WARNING [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_dri.c:134:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_dri.c:146:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRI_3D_SYNC [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_dri.c:205:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X_WARNING [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_dri.c:402:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_dri.c:565:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRM_READ_ONLY [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_dri.c:587:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRM_R128_INIT_CCE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_dri.c:631:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRM_SG_BUFFER [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_dri.c:673:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X_INFO [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_dri.c:736:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_dri.c:817:2: error: Memory leak: pDRIInfo.busIdString [memleak] 2.18.0 xf86-video-r128-6.13.0/src/r128_dri.c:81:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_dri.c:851:11: style: Variable 'pDRIInfo' is assigned a value that is never used. [unreadVariable] 2.18.0 xf86-video-r128-6.13.0/src/r128_dri.c:964:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRI_HIDE_X_CONTEXT [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:1019:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:1042:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:1052:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:1063:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X_INFO [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:1180:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:1215:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:1325:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:1363:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:1374:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:1439:29: style: Redundant condition: info->useEXA. '!info->useEXA || (info->useEXA && !info->accelOn)' is equivalent to '!info->useEXA || !info->accelOn' [redundantCondition] 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:1456:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROBE_DETECT [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:1625:13: style: Parameter 'indices' can be declared as pointer to const. However it seems that 'R128LoadPalette' is a callback function, if 'indices' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xf86-video-r128-6.13.0/src/r128_driver.c:2166:9: note: You might need to cast the function pointer here xf86-video-r128-6.13.0/src/r128_driver.c:1625:13: note: Parameter 'indices' can be declared as pointer to const 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:1648:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable red [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:1707:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable milliseconds [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:1721:22: style: Variable 'fbarea' is assigned a value that is never used. [unreadVariable] 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:1741:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:195:19: style: Variable 'pPriv' can be declared as pointer to const [constVariablePointer] 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:205:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:2246:6: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:2250:6: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:230:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VIDMEM_MMIO [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:2425:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:2620:31: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:2709:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:270:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:2717:33: style:inconclusive: Function 'R128SwitchMode' argument 1 names different: declaration 'pScrnInfo' definition 'pScrn'. [funcArgNamesDifferent] xf86-video-r128-6.13.0/src/r128_probe.h:173:57: note: Function 'R128SwitchMode' argument 1 names different: declaration 'pScrnInfo' definition 'pScrn'. xf86-video-r128-6.13.0/src/r128_driver.c:2717:33: note: Function 'R128SwitchMode' argument 1 names different: declaration 'pScrnInfo' definition 'pScrn'. 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:2722:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:2736:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MODE_OK [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:2808:34: style:inconclusive: Function 'R128AdjustFrame' argument 1 names different: declaration 'arg' definition 'pScrn'. [funcArgNamesDifferent] xf86-video-r128-6.13.0/src/r128_probe.h:174:58: note: Function 'R128AdjustFrame' argument 1 names different: declaration 'arg' definition 'pScrn'. xf86-video-r128-6.13.0/src/r128_driver.c:2808:34: note: Function 'R128AdjustFrame' argument 1 names different: declaration 'arg' definition 'pScrn'. 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:283:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VIDMEM_FRAMEBUFFER [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:2843:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:2893:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:2936:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:322:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:328:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:339:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:417:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:505:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X_INFO [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:612:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X_WARNING [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:652:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Support24bppFb [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:703:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_driver.c:732:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X_PROBED [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_exa.c:168:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_exa.c:226:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_exa.c:269:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_exa.c:324:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_exa.c:404:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X_INFO [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_exa.c:412:44: portability: 'info->FB' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 xf86-video-r128-6.13.0/src/r128_exa.c:51:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_exa.c:76:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_misc.c:63:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_output.c:107:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MODE_OK [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_output.c:112:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_output.c:117:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DPMSModeOff [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_output.c:151:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DPMSModeOn [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_output.c:162:30: style: Condition 'r128_output->MonType==MT_UNKNOWN' is always true [knownConditionTrueFalse] xf86-video-r128-6.13.0/src/r128_output.c:159:28: note: Assignment 'r128_output->MonType=MT_UNKNOWN', assigned value is -1 xf86-video-r128-6.13.0/src/r128_output.c:162:30: note: Condition 'r128_output->MonType==MT_UNKNOWN' is always true 2.18.0 xf86-video-r128-6.13.0/src/r128_output.c:163:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SubPixelUnknown [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_output.c:232:6: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] 2.18.0 xf86-video-r128-6.13.0/src/r128_output.c:338:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X_WARNING [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_output.c:390:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_T_DRIVER [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_output.c:410:5: warning: sprintf format string requires 0 parameters but 1 is given. [wrongPrintfScanfArgNum] 2.18.0 xf86-video-r128-6.13.0/src/r128_output.c:416:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xf86Screens [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_output.c:430:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xf86Screens [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_output.c:451:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_output.c:492:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X_INFO [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_output.c:544:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_probe.c:240:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_probe.c:307:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_video.c:102:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XF86VideoAdaptorPtr [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_video.c:1082:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_video.c:165:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_video.c:192:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DevUnion [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_video.c:228:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XvWindowMask [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_video.c:289:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable milliseconds [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_video.c:307:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BadValue [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_video.c:358:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BadMatch [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_video.c:395:18: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] 2.18.0 xf86-video-r128-6.13.0/src/r128_video.c:396:18: style: Parameter 'dst' can be declared as pointer to const [constParameterPointer] 2.18.0 xf86-video-r128-6.13.0/src/r128_video.c:493:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_video.c:629:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIORITY_EXTREME [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_video.c:662:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_video.c:753:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-r128-6.13.0/src/r128_video.c:906:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Success [valueFlowBailoutIncompleteVar] DONE