Skip to content

[Coverity CID: 520278] Uninitialized scalar variable in drivers/adc/adc_ad4130.c #90511

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

Closed
zephyrbot opened this issue May 25, 2025 · 0 comments · Fixed by #90592
Closed

[Coverity CID: 520278] Uninitialized scalar variable in drivers/adc/adc_ad4130.c #90511

zephyrbot opened this issue May 25, 2025 · 0 comments · Fixed by #90592
Assignees
Labels
area: ADC Analog-to-Digital Converter (ADC) bug The issue is a bug, or the PR is fixing a bug Coverity A Coverity detected issue or its fix platform: ADI Analog Devices, Inc. priority: high High impact/importance bug

Comments

@zephyrbot
Copy link
Collaborator

Static code scan issues found in file:

https://github.com/zephyrproject-rtos/zephyr/tree/265cfb45a818f39cf03c3527b5d1b21027d3cac1/drivers/adc/adc_ad4130.c

Category: Uninitialized variables
Function: adc_ad4130_perform_read
Component: Drivers
CID: 520278

Details:

return ret;

Please fix or provide comments in coverity using the link:

https://scan9.scan.coverity.com/#/project-view/29271/12996?selectedIssue=520278

For more information about the violation, check the Coverity Reference. (CWE-457)

Note: This issue was created automatically. Priority was set based on classification
of the file affected and the impact field in coverity. Assignees were set using the MAINTAINERS file.

@zephyrbot zephyrbot added bug The issue is a bug, or the PR is fixing a bug priority: high High impact/importance bug area: ADC Analog-to-Digital Converter (ADC) Coverity A Coverity detected issue or its fix platform: ADI Analog Devices, Inc. labels May 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ADC Analog-to-Digital Converter (ADC) bug The issue is a bug, or the PR is fixing a bug Coverity A Coverity detected issue or its fix platform: ADI Analog Devices, Inc. priority: high High impact/importance bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants