diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2017-11-30 18:21:20 -0600 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-01 16:36:33 -0500 |
commit | 97193601bb09e18265823f50dd6418d4be2122ce (patch) | |
tree | 2555c38a3494c7cd68ba9ad764ba38d4e73f140d /include | |
parent | 1971ab587bb087905ff94a079184b0608d0075ff (diff) | |
download | linux-97193601bb09e18265823f50dd6418d4be2122ce.tar.bz2 |
net: ethernet: ti: ale: fix port check in cpsw_ale_control_set/get
ALE ports number includes the Host port and ext Ports, and
ALE ports numbering starts from 0, so correct corresponding port
checks in cpsw_ale_control_set/get().
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions