Skip to content

[Coverity CID: 516227] Uninitialized scalar variable in drivers/sensor/st/lsm6dsv16x/lsm6dsv16x_trigger.c #90549

@zephyrbot

Description

@zephyrbot

Static code scan issues found in file:

https://github.com/zephyrproject-rtos/zephyr/tree/265cfb45a818f39cf03c3527b5d1b21027d3cac1/drivers/sensor/st/lsm6dsv16x/lsm6dsv16x_trigger.c

Category: Uninitialized variables
Function: lsm6dsv16x_enable_wake_int
Component: Drivers
CID: 516227

Details:

ret = lsm6dsv16x_pin_int1_route_set(ctx, &val);

Please fix or provide comments in coverity using the link:

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

CoverityA Coverity detected issue or its fixarea: SensorsSensorsbugThe issue is a bug, or the PR is fixing a bugpriority: lowLow impact/importance bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Participants

    @avisconti@nashif@MaureenHelm@zephyrbot

    Issue actions

      [Coverity CID: 516227] Uninitialized scalar variable in drivers/sensor/st/lsm6dsv16x/lsm6dsv16x_trigger.c · Issue #90549 · zephyrproject-rtos/zephyr