diff options
author | Ursula Braun <ursula.braun@de.ibm.com> | 2008-08-15 08:02:58 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-08-27 11:55:26 +0200 |
commit | 211cd45ac71dcd40d473fddf9a49cb1085173cb1 (patch) | |
tree | 1566cc9dc11ab195b70b272e9930498c2b13f288 /drivers/s390/net/qeth_l3_sys.c | |
parent | ibm_newemac: Don't call dev_mc_add() before device is registered (diff) | |
download | linux-211cd45ac71dcd40d473fddf9a49cb1085173cb1.tar.xz linux-211cd45ac71dcd40d473fddf9a49cb1085173cb1.zip |
qeth: use -EOPNOTSUPP instead of -ENOTSUPP.
return value -ENOTSUPP is not valid in userspace context, use
-EOPNOTSUPP instead.
Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/s390/net/qeth_l3_sys.c')
-rw-r--r-- | drivers/s390/net/qeth_l3_sys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_l3_sys.c b/drivers/s390/net/qeth_l3_sys.c index ac1993708ae9..210ddb639748 100644 --- a/drivers/s390/net/qeth_l3_sys.c +++ b/drivers/s390/net/qeth_l3_sys.c @@ -136,7 +136,7 @@ static ssize_t qeth_l3_dev_route6_store(struct device *dev, return -EINVAL; if (!qeth_is_supported(card, IPA_IPV6)) { - return -ENOTSUPP; + return -EOPNOTSUPP; } return qeth_l3_dev_route_store(card, &card->options.route6, |