summaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/qeth_l3_sys.c
diff options
context:
space:
mode:
authorUrsula Braun <ursula.braun@de.ibm.com>2008-08-15 08:02:58 +0200
committerJeff Garzik <jgarzik@redhat.com>2008-08-27 05:55:26 -0400
commit211cd45ac71dcd40d473fddf9a49cb1085173cb1 (patch)
tree1566cc9dc11ab195b70b272e9930498c2b13f288 /drivers/s390/net/qeth_l3_sys.c
parente8296582783a9f3bf75dbeb98dfdae15fd45c008 (diff)
downloadblackbird-op-linux-211cd45ac71dcd40d473fddf9a49cb1085173cb1.tar.gz
blackbird-op-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.c2
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,
OpenPOWER on IntegriCloud