aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ti
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2015-02-26 19:56:56 +0300
committerDavid S. Miller <davem@davemloft.net>2015-02-28 12:58:25 -0500
commitf55ea3d932df06d82f37de5826063caf938c06f2 (patch)
tree3caa216d102215e4bf8ae1adfb6575eeb5e2ce64 /drivers/net/ethernet/ti
parentnet: smc91x: use run-time configuration on all ARM machines (diff)
downloadlinux-dev-f55ea3d932df06d82f37de5826063caf938c06f2.tar.xz
linux-dev-f55ea3d932df06d82f37de5826063caf938c06f2.zip
niu: fix error handling in niu_class_to_ethflow()
There is a discrepancy here because the niu_class_to_ethflow() returns zero on failure and one on success but the caller expected zero on success and negative on failure. The problem means that we allow the user to pass classes and flow_types which we don't want. I've looked at it a bit and I don't see it as a very serious bug. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti')
0 files changed, 0 insertions, 0 deletions