aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2020-09-02 14:31:17 +0100
committerSebastian Reichel <[email protected]>2020-10-09 00:33:09 +0200
commit10a4357f4aebb30d20fe5f0297930b292862fed9 (patch)
tree2d33b963a912b9a119c0ef98fad949e65db4b92f /tools/perf/util/trace-event-scripting.c
parent7f977e64370dad07b01601bb2ba959678a149ff3 (diff)
power: supply: charger-manager: fix incorrect check on charging_duration_ms
Currently the duration check on the discharging duration setting is checking the charging duration rather than the discharging duration due to a cut-n-paste coding error. Fix this by checking the value desc->charging_max_duration_ms. Addresses-Coverity: ("Copy-paste-error") Fixes: 8fcfe088e21a ("charger-manager: Support limit of maximum possible") Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions