diff options
| author | Aaro Koskinen <[email protected]> | 2016-06-29 15:20:44 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-08-21 18:02:32 +0200 |
| commit | 0ad1ed99d6ce86bc76b8768a49a65155281aad44 (patch) | |
| tree | d3766698d7c8b0748d74303955e888a810b999b5 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 473256b0aea4e69a99afb21c9243e5cd544ac9ad (diff) | |
staging: octeon: validate interface before calling INDEX
Some helper functions call INDEX before checking if the interface is
valid. Since pow0 is not a real interface, we get the following errors:
cvmx_helper_get_interface_index_num: Illegal IPD port number
Fix by using INDEX only when needed with real interfaces.
Signed-off-by: Aaro Koskinen <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions