Skip to content

[Coverity CID: 525074] Unchecked return value in drivers/usb_c/tcpc/fusb307.c #90723

Closed
@zephyrbot

Description

@zephyrbot

Static code scan issues found in file:

https://github.com/zephyrproject-rtos/zephyr/tree/18b14e7a2c309679fd7c69e9d953cfe83376754e/drivers/usb_c/tcpc/fusb307.c

Category: Error handling issues
Function: fusb307_init_work_cb
Component: Drivers
CID: 525074

Details:

gpio_add_callback(cfg->alert_gpio.port, &data->alert_cb);

Please fix or provide comments in coverity using the link:

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

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

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.

Metadata

Metadata

Assignees

Labels

CoverityA Coverity detected issue or its fixarea: USB-CbugThe issue is a bug, or the PR is fixing a bugpriority: mediumMedium impact/importance bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions