Skip to content
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

[Coverity CID :203437]Incorrect expression in /tests/kernel/fp_sharing/float_disable/src/k_float_disable.c #18439

Closed
aasthagr opened this issue Aug 17, 2019 · 0 comments
Assignees
Labels
area: Kernel area: Tests Issues related to a particular existing or missing test bug The issue is a bug, or the PR is fixing a bug Coverity A Coverity detected issue or its fix priority: low Low impact/importance bug

Comments

@aasthagr
Copy link
Collaborator

Static code scan issues seen in File: /tests/kernel/fp_sharing/float_disable/src/k_float_disable.c
Category: Incorrect expression
Function: test_k_float_disable_syscall
Component: Tests
CID: 203437
Please fix or provide comments to square it off in coverity in the link: https://scan9.coverity.com/reports.htm#v32951/p12996

@aasthagr aasthagr added area: Tests Issues related to a particular existing or missing test bug The issue is a bug, or the PR is fixing a bug Coverity A Coverity detected issue or its fix labels Aug 17, 2019
@galak galak added the priority: low Low impact/importance bug label Aug 18, 2019
andyross pushed a commit to andyross/zephyr that referenced this issue Aug 21, 2019
Can't use a volatile variable in something that the tool thinks is an
optional assert, because the read is treated as a side effect.

Fixes zephyrproject-rtos#18438
Fixes zephyrproject-rtos#18439

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
@nashif nashif closed this as completed in ca82230 Aug 22, 2019
LeiW000 pushed a commit to LeiW000/zephyr that referenced this issue Sep 2, 2019
Can't use a volatile variable in something that the tool thinks is an
optional assert, because the read is treated as a side effect.

Fixes zephyrproject-rtos#18438
Fixes zephyrproject-rtos#18439

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Kernel area: Tests Issues related to a particular existing or missing test bug The issue is a bug, or the PR is fixing a bug Coverity A Coverity detected issue or its fix priority: low Low impact/importance bug
Projects
None yet
Development

No branches or pull requests

4 participants