]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit38c080ffa9c1b840390832b42ce8621464ab9f97
tree898e9263a2a1820f01a99e004833fabdf6bb91f3
parent4a36702e016947a0ce6c0c024673bb5b16d3f618
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