ibmveth: Return -EINVAL on all ->probe errors
authorSantiago Leon <santil@linux.vnet.ibm.com>
Fri, 3 Sep 2010 18:29:36 +0000 (18:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Sep 2010 01:21:54 +0000 (18:21 -0700)
commitbe35ae9e08dbbc70f1cd50de8639627fa501692d
tree49be406d5b1b06104a4fcfd787755b81223f57f0
parentf148f61d89995660e8aa20a2784ecd9c7f25e2a6
ibmveth: Return -EINVAL on all ->probe errors

We had a few cases where we returned success on error.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Santiago Leon <santil@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ibmveth.c