diff options
| author | Colin Ian King <[email protected]> | 2019-08-22 13:52:12 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-08-28 20:48:37 +0000 |
| commit | a684d8fd87182090ee96e34519ecdf009cef093a (patch) | |
| tree | a3a7f8437ce6faaac732eed14f726c239c7cea9c /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | usb-storage: Add new JMS567 revision to unusual_devs (diff) | |
| download | kernel-a684d8fd87182090ee96e34519ecdf009cef093a.tar.gz kernel-a684d8fd87182090ee96e34519ecdf009cef093a.zip | |
typec: tcpm: fix a typo in the comparison of pdo_max_voltage
There appears to be a typo in the comparison of pdo_max_voltage[i]
with the previous value, currently it is checking against the
array pdo_min_voltage rather than pdo_max_voltage. I believe this
is a typo. Fix this.
Addresses-Coverity: ("Copy-paste error")
Fixes: 5007e1b5db73 ("typec: tcpm: Validate source and sink caps")
Cc: stable <[email protected]>
Signed-off-by: Colin Ian King <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Reviewed-by: Heikki Krogerus <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
