diff options
author | Andrew Goodbody <andrew.goodbody@linaro.org> | 2025-07-22 14:40:24 +0100 |
---|---|---|
committer | Fabio Estevam <festevam@gmail.com> | 2025-07-24 08:00:08 -0300 |
commit | 110a23e479d6a885ec9be322e8e63e102b194439 (patch) | |
tree | 831565b3e610e4726d1d8acad0cd9655ec9a158c /drivers/fpga/fpga.c | |
parent | e6e8c601ed78470a3fd0e04058fd53b8a17c3107 (diff) |
imx93: adc: local variable ret should not be unsigned
Local variable ret is declared as unsigned but is used to receive the
return value of functions that return int. ret is then tested for being
negative which must always fail. Change ret to be an int.
This issue was found by Smatch.
Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
Diffstat (limited to 'drivers/fpga/fpga.c')
0 files changed, 0 insertions, 0 deletions