2025-11-21 03:19 ftp://ftp.de.debian.org/debian/pool/main/e/evdi/evdi_1.14.11+dfsg.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --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 -j1 platform: Linux-6.8.0-87-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.69 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.18.0 head-info: 5374cd3 (2025-11-20 15:35:39 +0100) count: 80 230 elapsed-time: 0.6 1.3 head-timing-info: old-timing-info: head results: evdi-1.14.11/library/evdi_lib.c:72:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] evdi-1.14.11/library/evdi_lib.c:83:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRM_IOCTL_AUTH_MAGIC [valueFlowBailoutIncompleteVar] evdi-1.14.11/library/evdi_lib.c:103:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EACCES [valueFlowBailoutIncompleteVar] evdi-1.14.11/library/evdi_lib.c:111:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] evdi-1.14.11/library/evdi_lib.c:183:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRM_IOCTL_VERSION [valueFlowBailoutIncompleteVar] evdi-1.14.11/library/evdi_lib.c:216:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRM_IOCTL_VERSION [valueFlowBailoutIncompleteVar] evdi-1.14.11/library/evdi_lib.c:232:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] evdi-1.14.11/library/evdi_lib.c:240:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] evdi-1.14.11/library/evdi_lib.c:254:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] evdi-1.14.11/library/evdi_lib.c:278:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] evdi-1.14.11/library/evdi_lib.c:361:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] evdi-1.14.11/library/evdi_lib.c:402:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] evdi-1.14.11/library/evdi_lib.c:408:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] evdi-1.14.11/library/evdi_lib.c:468:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] evdi-1.14.11/library/evdi_lib.c:510:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] evdi-1.14.11/library/evdi_lib.c:599:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] evdi-1.14.11/library/evdi_lib.c:629:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] evdi-1.14.11/library/evdi_lib.c:701:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRM_IOCTL_EVDI_CONNECT [valueFlowBailoutIncompleteVar] evdi-1.14.11/library/evdi_lib.c:708:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRM_IOCTL_EVDI_CONNECT [valueFlowBailoutIncompleteVar] evdi-1.14.11/library/evdi_lib.c:721:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRM_IOCTL_EVDI_ENABLE_CURSOR_EVENTS [valueFlowBailoutIncompleteVar] evdi-1.14.11/library/evdi_lib.c:744:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVDI_GRABPIX_MODE_DIRTY [valueFlowBailoutIncompleteVar] evdi-1.14.11/library/evdi_lib.c:806:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRM_IOCTL_EVDI_REQUEST_UPDATE [valueFlowBailoutIncompleteVar] evdi-1.14.11/library/evdi_lib.c:825:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRM_IOCTL_EVDI_DDCCI_RESPONSE [valueFlowBailoutIncompleteVar] evdi-1.14.11/library/evdi_lib.c:848:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRM_IOCTL_MODE_MAP_DUMB [valueFlowBailoutIncompleteVar] evdi-1.14.11/library/evdi_lib.c:874:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] evdi-1.14.11/library/evdi_lib.c:350:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] evdi-1.14.11/library/evdi_lib.c:399:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] evdi-1.14.11/library/evdi_lib.c:883:30: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] evdi-1.14.11/library/evdi_lib.c:878:19: note: Assuming allocation function fails evdi-1.14.11/library/evdi_lib.c:878:19: note: Assignment 'ptr=mmap(0,size,PROT_READ,MAP_SHARED,handle->fd,offset)', assigned value is 0 evdi-1.14.11/library/evdi_lib.c:883:30: note: Null pointer dereference evdi-1.14.11/library/evdi_lib.c:884:11: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] evdi-1.14.11/library/evdi_lib.c:878:19: note: Assuming allocation function fails evdi-1.14.11/library/evdi_lib.c:878:19: note: Assignment 'ptr=mmap(0,size,PROT_READ,MAP_SHARED,handle->fd,offset)', assigned value is 0 evdi-1.14.11/library/evdi_lib.c:884:11: note: Null pointer dereference evdi-1.14.11/library/evdi_lib.c:280:17: style: Variable 'fd_entry' can be declared as pointer to const [constVariablePointer] evdi-1.14.11/library/evdi_lib.c:290:9: style: Variable 'd_name' can be declared as pointer to const [constVariablePointer] evdi-1.14.11/library/evdi_lib.c:447:17: style: Variable 'fd_entry' can be declared as pointer to const [constVariablePointer] evdi-1.14.11/library/evdi_lib.c:482:8: style: Variable 'parent_device_token' can be declared as pointer to const [constVariablePointer] evdi-1.14.11/library/evdi_lib.c:496:17: style: Variable 'fd_entry' can be declared as pointer to const [constVariablePointer] evdi-1.14.11/library/evdi_lib.c:596:17: style: Variable 'fd_entry' can be declared as pointer to const [constVariablePointer] evdi-1.14.11/library/evdi_lib.c:829:74: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] evdi-1.14.11/library/evdi_lib.c:855:57: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] evdi-1.14.11/library/evdi_lib.c:878:9: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] evdi-1.14.11/library/evdi_lib.c:895:38: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] evdi-1.14.11/library/evdi_procfs.c:45:20: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] evdi-1.14.11/library/evdi_procfs.c:42:29: note: Assuming allocation function fails evdi-1.14.11/library/evdi_procfs.c:42:15: note: Assignment 'name=(char*)malloc(Xorg_name_len*sizeof(char))', assigned value is 0 evdi-1.14.11/library/evdi_procfs.c:45:20: note: Null pointer dereference evdi-1.14.11/module/evdi_drm_drv.h:21:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KERNEL_VERSION( ... ) [syntaxError] evdi-1.14.11/module/evdi_cursor.c:26:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KERNEL_VERSION( ... ) [syntaxError] evdi-1.14.11/module/evdi_debug.c:16:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current [valueFlowBailoutIncompleteVar] evdi-1.14.11/module/evdi_drm_drv.c:15:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KERNEL_VERSION( ... ) [syntaxError] evdi-1.14.11/module/evdi_encoder.c:15:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KERNEL_VERSION( ... ) [syntaxError] evdi-1.14.11/module/evdi_fb.c:20:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KERNEL_VERSION( ... ) [syntaxError] evdi-1.14.11/module/evdi_gem.c:13:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KERNEL_VERSION( ... ) [syntaxError] evdi-1.14.11/module/evdi_ioc32.c:25:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KERNEL_VERSION( ... ) [syntaxError] evdi-1.14.11/module/evdi_modeset.c:15:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KERNEL_VERSION( ... ) [syntaxError] evdi-1.14.11/module/evdi_painter.c:13:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KERNEL_VERSION( ... ) [syntaxError] evdi-1.14.11/module/evdi_platform_dev.h:36:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KERNEL_VERSION( ... ) [syntaxError] evdi-1.14.11/module/evdi_platform_drv.h:30:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KERNEL_VERSION( ... ) [syntaxError] evdi-1.14.11/module/tests/evdi_fake_compositor.c:37:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kunit_resource [valueFlowBailoutIncompleteVar] evdi-1.14.11/module/tests/evdi_fake_compositor.c:66:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRM_MODE_DPMS_ON [valueFlowBailoutIncompleteVar] evdi-1.14.11/module/tests/evdi_fake_compositor.c:69:67: style: Parameter 'test' can be declared as pointer to const [constParameterPointer] evdi-1.14.11/module/tests/evdi_fake_compositor.c:69:107: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] evdi-1.14.11/module/tests/evdi_fake_user_client.c:51:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kunit_resource [valueFlowBailoutIncompleteVar] evdi-1.14.11/module/tests/evdi_fake_user_client.c:73:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] evdi-1.14.11/module/tests/evdi_test.c:24:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFP_KERNEL [valueFlowBailoutIncompleteVar] evdi-1.14.11/module/tests/evdi_test.c:78:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable completion [valueFlowBailoutIncompleteVar] evdi-1.14.11/module/tests/evdi_test.c:95:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evdi_test_data [valueFlowBailoutIncompleteVar] evdi-1.14.11/module/tests/test_evdi_vt_switch.c:47:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFP_KERNEL [valueFlowBailoutIncompleteVar] evdi-1.14.11/module/tests/test_evdi_vt_switch.c:79:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRM_MODE_DPMS_OFF [valueFlowBailoutIncompleteVar] evdi-1.14.11/module/tests/test_evdi_vt_switch.c:117:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRM_MODE_DPMS_OFF [valueFlowBailoutIncompleteVar] evdi-1.14.11/module/tests/test_evdi_vt_switch.c:131:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRM_MODE_DPMS_ON [valueFlowBailoutIncompleteVar] evdi-1.14.11/module/tests/test_evdi_vt_switch.c:140:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fg_console [valueFlowBailoutIncompleteVar] evdi-1.14.11/pyevdi/Buffer.cpp:12:26: performance: Function parameter 'mode' should be passed by const reference. [passedByValue] evdi-1.14.11/pyevdi/Card.cpp:55:12: style: Unused private function: 'Card::setMode' [unusedPrivateFunction] evdi-1.14.11/pyevdi/Card.h:23:7: note: Unused private function: 'Card::setMode' evdi-1.14.11/pyevdi/Card.cpp:55:12: note: Unused private function: 'Card::setMode' evdi-1.14.11/pyevdi/Card.cpp:60:12: style: Unused private function: 'Card::makeBuffers' [unusedPrivateFunction] evdi-1.14.11/pyevdi/Card.h:24:7: note: Unused private function: 'Card::makeBuffers' evdi-1.14.11/pyevdi/Card.cpp:60:12: note: Unused private function: 'Card::makeBuffers' evdi-1.14.11/pyevdi/Card.h:53:19: performance: Function 'getMode()' should return member 'mode' by const reference. [returnByReference] evdi-1.14.11/pyevdi/Card.cpp:55:37: performance: Function parameter 'mode' should be passed by const reference. [passedByValue] evdi-1.14.11/pyevdi/PyEvdi.cpp:127:40: debug: simplifyOperatorName: found unsimplified operator name [debug] evdi-1.14.11/pyevdi/PyEvdi.cpp:57:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m [valueFlowBailoutIncompleteVar] evdi-1.14.11/pyevdi/PyEvdi.cpp:80:21: style: Parameter 'self' can be declared as reference to const [constParameterReference] evdi-1.14.11/pyevdi/PyEvdi.cpp:82:23: style: Parameter 'self' can be declared as reference to const [constParameterReference] evdi-1.14.11/pyevdi/PyEvdi.cpp:86:24: style: Parameter 'self' can be declared as reference to const [constParameterReference] evdi-1.14.11/pyevdi/PyEvdi.cpp:88:23: style: Parameter 'self' can be declared as reference to const [constParameterReference] evdi-1.14.11/pyevdi/PyEvdi.cpp:92:23: style: Parameter 'self' can be declared as reference to const [constParameterReference] evdi-1.14.11/pyevdi/PyEvdi.cpp:97:15: style: Parameter 'self' can be declared as reference to const [constParameterReference] evdi-1.14.11/pyevdi/PyEvdi.cpp:105:51: style: Parameter 'self' can be declared as reference to const [constParameterReference] diff: 2.18.0 evdi-1.14.11/module/evdi_connector.c:132:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_connector.c:187:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable drm_connector [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_connector.c:54:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_ERR [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_connector.c:70:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable head [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_connector.c:92:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MODE_OK [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_cursor.c:104:46: style: Parameter 'cursor' can be declared as pointer to const [constParameterPointer] 2.18.0 evdi-1.14.11/module/evdi_cursor.c:109:58: style:inconclusive: Function 'evdi_cursor_enable' argument 2 names different: declaration 'enabled' definition 'enable'. [funcArgNamesDifferent] evdi-1.14.11/module/evdi_cursor.h:41:58: note: Function 'evdi_cursor_enable' argument 2 names different: declaration 'enabled' definition 'enable'. evdi-1.14.11/module/evdi_cursor.c:109:58: note: Function 'evdi_cursor_enable' argument 2 names different: declaration 'enabled' definition 'enable'. 2.18.0 evdi-1.14.11/module/evdi_cursor.c:131:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_ERR [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_cursor.c:203:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_cursor.c:226:9: style: Variable 'fbsrc' can be declared as pointer to const [constVariablePointer] 2.18.0 evdi-1.14.11/module/evdi_cursor.c:244:39: portability: 'efb->obj->vmapping' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 evdi-1.14.11/module/evdi_cursor.c:262:47: style: Parameter 'cursor' can be declared as pointer to const [constParameterPointer] 2.18.0 evdi-1.14.11/module/evdi_cursor.c:268:47: style: Parameter 'cursor' can be declared as pointer to const [constParameterPointer] head evdi-1.14.11/module/evdi_cursor.c:26:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KERNEL_VERSION( ... ) [syntaxError] 2.18.0 evdi-1.14.11/module/evdi_cursor.c:275:43: style: Parameter 'cursor' can be declared as pointer to const [constParameterPointer] 2.18.0 evdi-1.14.11/module/evdi_cursor.c:282:45: style: Parameter 'cursor' can be declared as pointer to const [constParameterPointer] 2.18.0 evdi-1.14.11/module/evdi_cursor.c:287:45: style: Parameter 'cursor' can be declared as pointer to const [constParameterPointer] 2.18.0 evdi-1.14.11/module/evdi_cursor.c:67:61: style: Parameter 'cursor' can be declared as pointer to const [constParameterPointer] 2.18.0 evdi-1.14.11/module/evdi_cursor.c:75:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] head evdi-1.14.11/module/evdi_drm_drv.c:15:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KERNEL_VERSION( ... ) [syntaxError] 2.18.0 evdi-1.14.11/module/evdi_drm_drv.c:174:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_drm_drv.c:184:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_drm_drv.c:233:41: style:inconclusive: Function 'evdi_driver_open' argument 1 names different: declaration 'drm_dev' definition 'dev'. [funcArgNamesDifferent] evdi-1.14.11/module/evdi_drm_drv.h:93:41: note: Function 'evdi_driver_open' argument 1 names different: declaration 'drm_dev' definition 'dev'. evdi-1.14.11/module/evdi_drm_drv.c:233:41: note: Function 'evdi_driver_open' argument 1 names different: declaration 'drm_dev' definition 'dev'. 2.18.0 evdi-1.14.11/module/evdi_drm_drv.c:238:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_drm_drv.c:242:50: style: Parameter 'drm_dev' can be declared as pointer to const [constParameterPointer] 2.18.0 evdi-1.14.11/module/evdi_drm_drv.c:246:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_drm_drv.c:251:46: style:inconclusive: Function 'evdi_driver_preclose' argument 1 names different: declaration 'dev' definition 'drm_dev'. [funcArgNamesDifferent] evdi-1.14.11/module/evdi_drm_drv.h:94:46: note: Function 'evdi_driver_preclose' argument 1 names different: declaration 'dev' definition 'drm_dev'. evdi-1.14.11/module/evdi_drm_drv.c:251:46: note: Function 'evdi_driver_preclose' argument 1 names different: declaration 'dev' definition 'drm_dev'. 2.18.0 evdi-1.14.11/module/evdi_drm_drv.c:251:72: style:inconclusive: Function 'evdi_driver_preclose' argument 2 names different: declaration 'file_priv' definition 'file'. [funcArgNamesDifferent] evdi-1.14.11/module/evdi_drm_drv.h:94:68: note: Function 'evdi_driver_preclose' argument 2 names different: declaration 'file_priv' definition 'file'. evdi-1.14.11/module/evdi_drm_drv.c:251:72: note: Function 'evdi_driver_preclose' argument 2 names different: declaration 'file_priv' definition 'file'. 2.18.0 evdi-1.14.11/module/evdi_drm_drv.c:256:69: style:inconclusive: Function 'evdi_driver_postclose' argument 2 names different: declaration 'file_priv' definition 'file'. [funcArgNamesDifferent] evdi-1.14.11/module/evdi_drm_drv.h:95:69: note: Function 'evdi_driver_postclose' argument 2 names different: declaration 'file_priv' definition 'file'. evdi-1.14.11/module/evdi_drm_drv.c:256:69: note: Function 'evdi_driver_postclose' argument 2 names different: declaration 'file_priv' definition 'file'. 2.18.0 evdi-1.14.11/module/evdi_drm_drv.c:262:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_drm_drv.c:84:66: style: Parameter 'dev' can be declared as pointer to const. However it seems that 'evdi_enable_vblank' is a callback function, if 'dev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] evdi-1.14.11/module/evdi_drm_drv.c:149:19: note: You might need to cast the function pointer here evdi-1.14.11/module/evdi_drm_drv.c:84:66: note: Parameter 'dev' can be declared as pointer to const 2.18.0 evdi-1.14.11/module/evdi_drm_drv.c:90:68: style: Parameter 'dev' can be declared as pointer to const. However it seems that 'evdi_disable_vblank' is a callback function, if 'dev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] evdi-1.14.11/module/evdi_drm_drv.c:150:20: note: You might need to cast the function pointer here evdi-1.14.11/module/evdi_drm_drv.c:90:68: note: Parameter 'dev' can be declared as pointer to const head evdi-1.14.11/module/evdi_drm_drv.h:21:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KERNEL_VERSION( ... ) [syntaxError] head evdi-1.14.11/module/evdi_encoder.c:15:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KERNEL_VERSION( ... ) [syntaxError] 2.18.0 evdi-1.14.11/module/evdi_encoder.c:32:69: style: Parameter 'encoder' can be declared as pointer to const. However it seems that 'evdi_encoder_enable' is a callback function, if 'encoder' is declared with const you might also need to cast function pointer(s). [constParameterCallback] evdi-1.14.11/module/evdi_encoder.c:41:12: note: You might need to cast the function pointer here evdi-1.14.11/module/evdi_encoder.c:32:69: note: Parameter 'encoder' can be declared as pointer to const 2.18.0 evdi-1.14.11/module/evdi_encoder.c:36:70: style: Parameter 'encoder' can be declared as pointer to const. However it seems that 'evdi_encoder_disable' is a callback function, if 'encoder' is declared with const you might also need to cast function pointer(s). [constParameterCallback] evdi-1.14.11/module/evdi_encoder.c:42:13: note: You might need to cast the function pointer here evdi-1.14.11/module/evdi_encoder.c:36:70: note: Parameter 'encoder' can be declared as pointer to const 2.18.0 evdi-1.14.11/module/evdi_encoder.c:54:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable drm_encoder [valueFlowBailoutIncompleteVar] head evdi-1.14.11/module/evdi_fb.c:20:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KERNEL_VERSION( ... ) [syntaxError] 2.18.0 evdi-1.14.11/module/evdi_fb.c:247:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_fb.c:319:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_fb.c:36:26: style: struct member 'evdi_fbdev::efb' is never used. [unusedStructMember] 2.18.0 evdi-1.14.11/module/evdi_fb.c:38:23: style: struct member 'evdi_fbdev::fb_ops' is never used. [unusedStructMember] 2.18.0 evdi-1.14.11/module/evdi_fb.c:39:6: style: struct member 'evdi_fbdev::fb_count' is never used. [unusedStructMember] 2.18.0 evdi-1.14.11/module/evdi_fb.c:44:33: style:inconclusive: Function 'evdi_framebuffer_sanitize_rect' argument 2 names different: declaration 'rect' definition 'dirty_rect'. [funcArgNamesDifferent] evdi-1.14.11/module/evdi_drm_drv.h:180:32: note: Function 'evdi_framebuffer_sanitize_rect' argument 2 names different: declaration 'rect' definition 'dirty_rect'. evdi-1.14.11/module/evdi_fb.c:44:33: note: Function 'evdi_framebuffer_sanitize_rect' argument 2 names different: declaration 'rect' definition 'dirty_rect'. 2.18.0 evdi-1.14.11/module/evdi_fb.c:51:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_WARNING [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_fb.c:624:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_ERR [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_gem.c:128:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] head evdi-1.14.11/module/evdi_gem.c:13:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KERNEL_VERSION( ... ) [syntaxError] 2.18.0 evdi-1.14.11/module/evdi_gem.c:173:39: style:inconclusive: Function 'evdi_dumb_create' argument 1 names different: declaration 'file_priv' definition 'file'. [funcArgNamesDifferent] evdi-1.14.11/module/evdi_drm_drv.h:117:39: note: Function 'evdi_dumb_create' argument 1 names different: declaration 'file_priv' definition 'file'. evdi-1.14.11/module/evdi_gem.c:173:39: note: Function 'evdi_dumb_create' argument 1 names different: declaration 'file_priv' definition 'file'. 2.18.0 evdi-1.14.11/module/evdi_gem.c:194:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VM_PFNMAP [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_gem.c:198:9: warning: Identical condition and return expression 'ret', return value is always 0 [identicalConditionAfterEarlyExit] evdi-1.14.11/module/evdi_gem.c:187:6: note: If condition 'ret' is true, the function will return/exit evdi-1.14.11/module/evdi_gem.c:198:9: note: Returning identical expression 'ret' 2.18.0 evdi-1.14.11/module/evdi_gem.c:213:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SHIFT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_gem.c:277:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFP_KERNEL [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_gem.c:295:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_gem.c:398:36: style:inconclusive: Function 'evdi_gem_mmap' argument 1 names different: declaration 'file_priv' definition 'file'. [funcArgNamesDifferent] evdi-1.14.11/module/evdi_drm_drv.h:119:36: note: Function 'evdi_gem_mmap' argument 1 names different: declaration 'file_priv' definition 'file'. evdi-1.14.11/module/evdi_gem.c:398:36: note: Function 'evdi_gem_mmap' argument 1 names different: declaration 'file_priv' definition 'file'. 2.18.0 evdi-1.14.11/module/evdi_gem.c:408:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_gem.c:452:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_gem.c:493:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SHIFT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_gem.c:60:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TASK_COMM_LEN [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_gem.c:67:74: style: Parameter 'obj' can be declared as pointer to const [constParameterPointer] 2.18.0 evdi-1.14.11/module/evdi_gem.c:76:35: style: Parameter 'obj' can be declared as pointer to const [constParameterPointer] 2.18.0 evdi-1.14.11/module/evdi_gem.c:99:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFP_KERNEL [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_i2c.c:14:52: style: Parameter 'adapter' can be declared as pointer to const. However it seems that 'dli2c_access_master' is a callback function, if 'adapter' is declared with const you might also need to cast function pointer(s). [constParameterCallback] evdi-1.14.11/module/evdi_i2c.c:35:17: note: You might need to cast the function pointer here evdi-1.14.11/module/evdi_i2c.c:14:52: note: Parameter 'adapter' can be declared as pointer to const 2.18.0 evdi-1.14.11/module/evdi_i2c.c:29:59: style: Parameter 'adapter' can be declared as pointer to const. However it seems that 'dli2c_func' is a callback function, if 'adapter' is declared with const you might also need to cast function pointer(s). [constParameterCallback] evdi-1.14.11/module/evdi_i2c.c:36:19: note: You might need to cast the function pointer here evdi-1.14.11/module/evdi_i2c.c:29:59: note: Parameter 'adapter' can be declared as pointer to const 2.18.0 evdi-1.14.11/module/evdi_i2c.c:31:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I2C_FUNC_I2C [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_i2c.c:42:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable THIS_MODULE [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_ioc32.c:124:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRM_COMMAND_BASE [valueFlowBailoutIncompleteVar] head evdi-1.14.11/module/evdi_ioc32.c:25:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KERNEL_VERSION( ... ) [syntaxError] 2.18.0 evdi-1.14.11/module/evdi_ioc32.c:63:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EFAULT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_ioc32.c:84:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EFAULT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_modeset.c:108:50: style: Parameter 'crtc' can be declared as pointer to const. However it seems that 'evdi_crtc_cursor_set' is a callback function, if 'crtc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] evdi-1.14.11/module/evdi_modeset.c:213:28: note: You might need to cast the function pointer here evdi-1.14.11/module/evdi_modeset.c:108:50: note: Parameter 'crtc' can be declared as pointer to const 2.18.0 evdi-1.14.11/module/evdi_modeset.c:132:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRM_FORMAT_ARGB8888 [valueFlowBailoutIncompleteVar] head evdi-1.14.11/module/evdi_modeset.c:15:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KERNEL_VERSION( ... ) [syntaxError] 2.18.0 evdi-1.14.11/module/evdi_modeset.c:166:51: style: Parameter 'crtc' can be declared as pointer to const. However it seems that 'evdi_crtc_cursor_move' is a callback function, if 'crtc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] evdi-1.14.11/module/evdi_modeset.c:214:28: note: You might need to cast the function pointer here evdi-1.14.11/module/evdi_modeset.c:166:51: note: Parameter 'crtc' can be declared as pointer to const 2.18.0 evdi-1.14.11/module/evdi_modeset.c:171:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_modeset.c:226:34: style: Parameter 'old_state' can be declared as pointer to const. However it seems that 'evdi_plane_atomic_update' is a callback function, if 'old_state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] evdi-1.14.11/module/evdi_modeset.c:398:19: note: You might need to cast the function pointer here evdi-1.14.11/module/evdi_modeset.c:226:34: note: Parameter 'old_state' can be declared as pointer to const 2.18.0 evdi-1.14.11/module/evdi_modeset.c:237:19: style: Variable 'crtc' can be declared as pointer to const [constVariablePointer] 2.18.0 evdi-1.14.11/module/evdi_modeset.c:246:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_WARNING [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_modeset.c:41:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_modeset.c:438:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRM_PLANE_TYPE_CURSOR [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_modeset.c:46:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_modeset.c:476:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_modeset.c:519:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_modeset.c:52:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_modeset.c:59:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_modeset.c:62:65: style: Parameter 'crtc' can be declared as pointer to const. However it seems that 'evdi_crtc_set_nofb' is a callback function, if 'crtc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] evdi-1.14.11/module/evdi_modeset.c:184:20: note: You might need to cast the function pointer here evdi-1.14.11/module/evdi_modeset.c:62:65: note: Parameter 'crtc' can be declared as pointer to const 2.18.0 evdi-1.14.11/module/evdi_modeset.c:90:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRM_MODE_DPMS_OFF [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_painter.c:1015:51: style: Parameter 'drm_dev' can be declared as pointer to const [constParameterPointer] 2.18.0 evdi-1.14.11/module/evdi_painter.c:1029:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_painter.c:1153:58: style: Parameter 'drm_dev' can be declared as pointer to const [constParameterPointer] 2.18.0 evdi-1.14.11/module/evdi_painter.c:1162:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_painter.c:1186:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable work [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_painter.c:1200:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fg_console [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_painter.c:1226:43: style:inconclusive: Function 'evdi_painter_init' argument 1 names different: declaration 'evdi' definition 'dev'. [funcArgNamesDifferent] evdi-1.14.11/module/evdi_drm_drv.h:173:43: note: Function 'evdi_painter_init' argument 1 names different: declaration 'evdi' definition 'dev'. evdi-1.14.11/module/evdi_painter.c:1226:43: note: Function 'evdi_painter_init' argument 1 names different: declaration 'evdi' definition 'dev'. 2.18.0 evdi-1.14.11/module/evdi_painter.c:1228:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_painter.c:1251:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_painter.c:1276:35: style:inconclusive: Function 'evdi_painter_set_scanout_buffer' argument 2 names different: declaration 'buffer' definition 'newfb'. [funcArgNamesDifferent] evdi-1.14.11/module/evdi_drm_drv.h:176:35: note: Function 'evdi_painter_set_scanout_buffer' argument 2 names different: declaration 'buffer' definition 'newfb'. evdi-1.14.11/module/evdi_painter.c:1276:35: note: Function 'evdi_painter_set_scanout_buffer' argument 2 names different: declaration 'buffer' definition 'newfb'. 2.18.0 evdi-1.14.11/module/evdi_painter.c:1283:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_painter.c:1310:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFP_KERNEL [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_painter.c:1342:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __u16 [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_painter.c:1364:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_WARNING [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_painter.c:1382:58: style: Parameter 'drm_dev' can be declared as pointer to const [constParameterPointer] 2.18.0 evdi-1.14.11/module/evdi_painter.c:1390:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_DEFAULT [valueFlowBailoutIncompleteVar] head evdi-1.14.11/module/evdi_painter.c:13:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KERNEL_VERSION( ... ) [syntaxError] 2.18.0 evdi-1.14.11/module/evdi_painter.c:1420:64: style: Parameter 'drm_dev' can be declared as pointer to const [constParameterPointer] 2.18.0 evdi-1.14.11/module/evdi_painter.c:1424:40: style: Variable 'cmd' can be declared as pointer to const [constVariablePointer] 2.18.0 evdi-1.14.11/module/evdi_painter.c:161:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_painter.c:179:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_painter.c:222:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_ERR [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_painter.c:248:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_painter.c:303:17: style: Variable 'has_space' is assigned a value that is never used. [unreadVariable] 2.18.0 evdi-1.14.11/module/evdi_painter.c:332:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_ERR [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_painter.c:368:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFP_KERNEL [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_painter.c:402:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_ERR [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_painter.c:416:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFP_KERNEL [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_painter.c:463:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFP_KERNEL [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_painter.c:495:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFP_KERNEL [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_painter.c:523:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFP_KERNEL [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_painter.c:559:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_WARNING [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_painter.c:579:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_WARNING [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_painter.c:600:37: style:inconclusive: Function 'evdi_painter_mark_dirty' argument 2 names different: declaration 'rect' definition 'dirty_rect'. [funcArgNamesDifferent] evdi-1.14.11/module/evdi_drm_drv.h:149:37: note: Function 'evdi_painter_mark_dirty' argument 2 names different: declaration 'rect' definition 'dirty_rect'. evdi-1.14.11/module/evdi_painter.c:600:37: note: Function 'evdi_painter_mark_dirty' argument 2 names different: declaration 'rect' definition 'dirty_rect'. 2.18.0 evdi-1.14.11/module/evdi_painter.c:603:27: style: Variable 'efb' can be declared as pointer to const [constVariablePointer] 2.18.0 evdi-1.14.11/module/evdi_painter.c:607:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_WARNING [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_painter.c:654:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_painter.c:667:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_painter.c:689:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_painter.c:714:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_WARNING [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_painter.c:755:36: style:inconclusive: Function 'evdi_painter_mode_changed_notify' argument 2 names different: declaration 'mode' definition 'new_mode'. [funcArgNamesDifferent] evdi-1.14.11/module/evdi_drm_drv.h:156:36: note: Function 'evdi_painter_mode_changed_notify' argument 2 names different: declaration 'mode' definition 'new_mode'. evdi-1.14.11/module/evdi_painter.c:755:36: note: Function 'evdi_painter_mode_changed_notify' argument 2 names different: declaration 'mode' definition 'new_mode'. 2.18.0 evdi-1.14.11/module/evdi_painter.c:766:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_painter.c:768:9: style: Condition 'fb==NULL' is always false [knownConditionTrueFalse] 2.18.0 evdi-1.14.11/module/evdi_painter.c:76:35: style: struct member 'evdi_event_crtc_state_pending::crtc_state' is never used. [unusedStructMember] 2.18.0 evdi-1.14.11/module/evdi_painter.c:810:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFP_KERNEL [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_painter.c:844:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_painter.c:870:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edid [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_painter.c:927:19: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] 2.18.0 evdi-1.14.11/module/evdi_painter.c:932:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_painter.c:978:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_painter.c:984:51: style: Parameter 'drm_dev' can be declared as pointer to const [constParameterPointer] 2.18.0 evdi-1.14.11/module/evdi_painter.c:988:23: style: Variable 'painter' can be declared as pointer to const [constVariablePointer] 2.18.0 evdi-1.14.11/module/evdi_painter.c:989:27: style: Variable 'cmd' can be declared as pointer to const [constVariablePointer] 2.18.0 evdi-1.14.11/module/evdi_painter.c:992:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_platform_dev.c:129:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_CRIT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_platform_dev.c:143:20: style: Parameter 'parent' can be declared as pointer to const [constParameterPointer] 2.18.0 evdi-1.14.11/module/evdi_platform_dev.c:151:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_platform_dev.c:41:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_WARNING [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_platform_dev.c:53:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_platform_dev.c:61:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_platform_dev.c:97:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_DEFAULT [valueFlowBailoutIncompleteVar] head evdi-1.14.11/module/evdi_platform_dev.h:36:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KERNEL_VERSION( ... ) [syntaxError] 2.18.0 evdi-1.14.11/module/evdi_platform_drv.c:119:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_ERR [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_platform_drv.c:145:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_platform_drv.c:156:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_WARNING [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_platform_drv.c:179:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_platform_drv.c:217:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_platform_drv.c:245:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_platform_drv.c:79:77: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] 2.18.0 evdi-1.14.11/module/evdi_platform_drv.c:87:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] head evdi-1.14.11/module/evdi_platform_drv.h:30:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KERNEL_VERSION( ... ) [syntaxError] 2.18.0 evdi-1.14.11/module/evdi_sysfs.c:172:56: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] 2.18.0 evdi-1.14.11/module/evdi_sysfs.c:175:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_sysfs.c:191:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_ERR [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_sysfs.c:215:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_sysfs.c:226:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_ERR [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_sysfs.c:261:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_ERR [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_sysfs.c:37:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_sysfs.c:37:9: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] 2.18.0 evdi-1.14.11/module/evdi_sysfs.c:37:9: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] 2.18.0 evdi-1.14.11/module/evdi_sysfs.c:37:9: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] 2.18.0 evdi-1.14.11/module/evdi_sysfs.c:45:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 evdi-1.14.11/module/evdi_sysfs.c:49:6: style: struct member 'evdi_usb_addr::addr' is never used. [unusedStructMember] 2.18.0 evdi-1.14.11/module/evdi_sysfs.c:50:6: style: struct member 'evdi_usb_addr::len' is never used. [unusedStructMember] 2.18.0 evdi-1.14.11/module/evdi_sysfs.c:51:21: style: struct member 'evdi_usb_addr::usb' is never used. [unusedStructMember] DONE