aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorBence Csókás <csokas.bence@prolan.hu>2024-12-08 14:15:31 +0100
committerSebastian Reichel <sebastian.reichel@collabora.com>2024-12-10 01:18:44 +0100
commit94ba531bf9cb3c4ef725ffc37b8ed09006533f25 (patch)
treefec9f63a0469acbb5a730c961e85204231e85125 /tools/perf/scripts/python/export-to-postgresql.py
parentpower: supply: bq24190_charger: Fix typo 'jeta' -> 'jeita' (diff)
downloadwireguard-linux-94ba531bf9cb3c4ef725ffc37b8ed09006533f25.tar.xz
wireguard-linux-94ba531bf9cb3c4ef725ffc37b8ed09006533f25.zip
power: ip5xxx_power: Fix uninitialized variable read
The check for whether a charger supports the requested battery voltage was incorrectly added to the `ip5xxx_battery_get_voltage_max()` function, instead of `set_voltage_max()`. This commit fixes it. Reported-by: Kees Bakker <kees@ijzerbout.nl> Closes: https://lore.kernel.org/linux-kernel/b547c228-df70-4137-9e96-175923f62404@ijzerbout.nl/ Fixes: 8584bc5df539 ("power: ip5xxx_power: Allow for more parameters to be configured") Signed-off-by: Bence Csókás <csokas.bence@prolan.hu> Link: https://lore.kernel.org/r/20241208131532.1028581-1-csokas.bence@prolan.hu Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions