]> err.no Git - linux-2.6/commitdiff
qeth: use -EOPNOTSUPP instead of -ENOTSUPP.
authorUrsula Braun <ursula.braun@de.ibm.com>
Fri, 15 Aug 2008 06:02:58 +0000 (08:02 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 27 Aug 2008 09:55:26 +0000 (05:55 -0400)
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>
drivers/s390/net/qeth_l3_sys.c

index ac1993708ae9cc1f09b622b3aa35af5ea0e33603..210ddb639748171c81a87e2b05ed59df12c431ea 100644 (file)
@@ -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,