Skip to content

Fix Coverity issues in acl_kernel_test.cpp #261

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 31, 2023

Conversation

IlanTruanovsky
Copy link
Contributor

Fixes:

test/acl_kernel_test.cpp:2106:32:
  Type: Invalid type in argument to printf format specifier (PRINTF_ARGS)

test/acl_kernel_test.cpp:2106:32:
  invalid_type: Argument "local_sizes[itry]" to format specifier "%d" was expected to have type "int" but has type "unsigned long".
src/acl_hal.cpp:123:3:
  path: Condition "debug_mode > 0", taking true branch.
src/acl_hal.cpp:126:5:
  printf_function: Calling "vprintf" which uses a "printf"-style format string. [Note: The source code implementation of the function has been overridden by a builtin model.]

test/acl_kernel_test.cpp:2138:27:
  Type: Invalid type in argument to printf format specifier (PRINTF_ARGS)

test/acl_kernel_test.cpp:2138:27:
  invalid_type: Argument "local_sizes[itry]" to format specifier "%d" was expected to have type "int" but has type "unsigned long".
src/acl_hal.cpp:123:3:
  path: Condition "debug_mode > 0", taking true branch.
src/acl_hal.cpp:126:5:
  printf_function: Calling "vprintf" which uses a "printf"-style format string. [Note: The source code implementation of the function has been overridden by a builtin model.]

Fixes:
```

test/acl_kernel_test.cpp:2106:32:
  Type: Invalid type in argument to printf format specifier (PRINTF_ARGS)

test/acl_kernel_test.cpp:2106:32:
  invalid_type: Argument "local_sizes[itry]" to format specifier "%d" was expected to have type "int" but has type "unsigned long".
src/acl_hal.cpp:123:3:
  path: Condition "debug_mode > 0", taking true branch.
src/acl_hal.cpp:126:5:
  printf_function: Calling "vprintf" which uses a "printf"-style format string. [Note: The source code implementation of the function has been overridden by a builtin model.]

test/acl_kernel_test.cpp:2138:27:
  Type: Invalid type in argument to printf format specifier (PRINTF_ARGS)

test/acl_kernel_test.cpp:2138:27:
  invalid_type: Argument "local_sizes[itry]" to format specifier "%d" was expected to have type "int" but has type "unsigned long".
src/acl_hal.cpp:123:3:
  path: Condition "debug_mode > 0", taking true branch.
src/acl_hal.cpp:126:5:
  printf_function: Calling "vprintf" which uses a "printf"-style format string. [Note: The source code implementation of the function has been overridden by a builtin model.]
```
@pcolberg pcolberg added the bug Something isn't working label Jan 30, 2023
@pcolberg pcolberg added this to the 2023.2 milestone Jan 30, 2023
@pcolberg pcolberg merged commit 55f211a into intel:main Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants