diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-08-31 19:50:40 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-01 01:13:03 -0700 |
commit | dc1f8bf68b311b1537cb65893430b6796118498a (patch) | |
tree | 25aa489e1c88d6a535b6d6a694dcaf41f5256fa4 /net/dsa | |
parent | 9e39f7c5b311a306977c5471f9e2ce4c456aa038 (diff) | |
download | linux-stable-dc1f8bf68b311b1537cb65893430b6796118498a.tar.gz linux-stable-dc1f8bf68b311b1537cb65893430b6796118498a.tar.bz2 linux-stable-dc1f8bf68b311b1537cb65893430b6796118498a.zip |
netdev: change transmit to limited range type
The transmit function should only return one of three possible values,
some drivers got confused and returned errno's or other values.
This changes the definition so that this can be caught at compile time.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions