[Coverity CID: 520286] Unintended sign extension in drivers/sensor/ams/tsl2591/tsl2591.c #90504
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/265cfb45a818f39cf03c3527b5d1b21027d3cac1/drivers/sensor/ams/tsl2591/tsl2591.c
Category: Integer handling issues
Function:
tsl2591_set_threshold
Component: Drivers
CID: 520286
Details:
zephyr/drivers/sensor/ams/tsl2591/tsl2591.c
Line 195 in 265cfb4
Please fix or provide comments in coverity using the link:
https://scan9.scan.coverity.com/#/project-view/29271/12996?selectedIssue=520286
For more information about the violation, check the Coverity Reference. (CWE-194)
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: