diff options
| author | 2016-06-29 15:20:44 +0300 | |
|---|---|---|
| committer | 2016-08-21 18:02:32 +0200 | |
| commit | 0ad1ed99d6ce86bc76b8768a49a65155281aad44 (patch) | |
| tree | d3766698d7c8b0748d74303955e888a810b999b5 /include/linux/debugobjects.h | |
| parent | staging: slicoss: simplify struct for statistics (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 <aaro.koskinen@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
