]> git.baikalelectronics.ru Git - kernel.git/commit
niu: Fix error checking in niu_ethflow_to_class.
authorAndreas Schwab <schwab@suse.de>
Wed, 30 Jul 2008 06:59:20 +0000 (23:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Jul 2008 06:59:20 +0000 (23:59 -0700)
commit34cb7bc828a6c4695b028fa78fb5b91f56014e68
tree898e9263a2a1820f01a99e004833fabdf6bb91f3
parentec74d899db4fd3d6f408f6610756bceaf617ddff
niu: Fix error checking in niu_ethflow_to_class.

The callers of niu_ethflow_to_class expect zero as error, but it returns
-1 instead.

Signed-off-by: Andreas Schwab <schwab@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/niu.c