diff options
| author | Andrew Goodbody <[email protected]> | 2025-08-07 17:35:22 +0100 |
|---|---|---|
| committer | Peng Fan <[email protected]> | 2025-09-01 10:33:04 +0800 |
| commit | 58b8ff0b663a7491c1964e1e3a8d1d88ef707077 (patch) | |
| tree | c184b477299085cdfca2d48010c8b547d99718d2 /doc/develop/bootstd/extlinux.rst | |
| parent | c9ffeefeb3efedd754e3ffa3440bfeb15cea00c3 (diff) | |
power: regulator: tps65910: Cannot test unsigned for being negative
The code in tps65910_regulator.c treats the field supply in struct
tps65910_regulator_pdata as an int and even tests the value for being
negative so change it from a u32 to int so that the code all works as
expected.
This issue was found by Smatch.
Signed-off-by: Andrew Goodbody <[email protected]>
Signed-off-by: Peng Fan <[email protected]>
Diffstat (limited to 'doc/develop/bootstd/extlinux.rst')
0 files changed, 0 insertions, 0 deletions
