From: Ursula Braun Date: Fri, 15 Aug 2008 06:02:58 +0000 (+0200) Subject: qeth: use -EOPNOTSUPP instead of -ENOTSUPP. X-Git-Tag: v2.6.27-rc5~8^2~4^2~3 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=211cd45ac71dcd40d473fddf9a49cb1085173cb1;p=linux-2.6-omap-h63xx.git qeth: use -EOPNOTSUPP instead of -ENOTSUPP. return value -ENOTSUPP is not valid in userspace context, use -EOPNOTSUPP instead. Signed-off-by: Ursula Braun Signed-off-by: Frank Blaschka Signed-off-by: Jeff Garzik --- diff --git a/drivers/s390/net/qeth_l3_sys.c b/drivers/s390/net/qeth_l3_sys.c index ac1993708ae..210ddb63974 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,