[Coverity CID: 353654] Unintended sign extension in drivers/sensor/ams/tsl2591/tsl2591.c #74752
Labels
area: Sensors
Sensors
bug
The issue is a bug, or the PR is fixing a bug
Coverity
A Coverity detected issue or its fix
priority: medium
Medium impact/importance bug
Static code scan issues found in file:
https://github.com/zephyrproject-rtos/zephyr/tree/dcf42917c550714d2457947538b9e29d083e872e/drivers/sensor/ams/tsl2591/tsl2591.c#L139
Category: Integer handling issues
Function:
tsl2591_channel_get
Component: Drivers
CID: 353654
Details:
zephyr/drivers/sensor/ams/tsl2591/tsl2591.c
Line 139 in dcf4291
For more information about the violation, check the Coverity Reference. (CWE-194)
Please fix or provide comments in coverity using the link:
https://scan9.scan.coverity.com/#/project-view/29271/12996?selectedIssue=353654
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.
The text was updated successfully, but these errors were encountered: