commit | 5bec53b73af50dad7b49c0a81dadf9f2bdce5e70 | [log] [tgz] |
---|---|---|
author | Renato Soma <renatoys08@gmail.com> | Wed Feb 21 18:23:03 2024 -0300 |
committer | Anas Nashif <anas.nashif@intel.com> | Sun Feb 25 20:47:31 2024 -0500 |
tree | 14c36e6827acf66d7d7f028183756ae57bb4db08 | |
parent | 0fb8506ae456c44e5e6763090e21c0d2bae473da [diff] |
drivers: sensor: tmag5273: cast value to int64_t Cast val1 from sensor_value before multiplication in order to avoid integer overflow, as indicated by Coverity CID 347136. Signed-off-by: Renato Soma <renatoys08@gmail.com>