diff options
author | Lee Jones <[email protected]> | 2014-08-28 14:59:50 +0100 |
---|---|---|
committer | Kishon Vijay Abraham I <[email protected]> | 2014-09-12 11:35:31 +0530 |
commit | a6cc1b9478e769aca95d3a1bcb071d38b3f6bc30 (patch) | |
tree | 2c695c33859019ecbdf77026bf6c5602fbe1b17e /tools/perf/scripts/python/netdev-times.py | |
parent | fbb1a770039d3900f5130bab949b757f6f7fb373 (diff) |
phy: miphy365x: Fix off-by-one error
We index the RX/TX speed select values in the following way:
rx_tx_spd[miphy_phy->sata_gen];
However rx_tx_spd[] starts at index zero and the SATA_GENx's start
at one. In this patch we pad out the first element in rx_tx_spd[]
in an attempt to realign the values.
Cc: Alexandre Torgue <[email protected]>
Reported-by: Gabriel Fernandez <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Signed-off-by: Kishon Vijay Abraham I <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions