Commit 211cd45a authored by Ursula Braun's avatar Ursula Braun Committed by Jeff Garzik

qeth: use -EOPNOTSUPP instead of -ENOTSUPP.

return value -ENOTSUPP is not valid in userspace context, use
-EOPNOTSUPP instead.
Signed-off-by: default avatarUrsula Braun <ursula.braun@de.ibm.com>
Signed-off-by: default avatarFrank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent e8296582
...@@ -136,7 +136,7 @@ static ssize_t qeth_l3_dev_route6_store(struct device *dev, ...@@ -136,7 +136,7 @@ static ssize_t qeth_l3_dev_route6_store(struct device *dev,
return -EINVAL; return -EINVAL;
if (!qeth_is_supported(card, IPA_IPV6)) { if (!qeth_is_supported(card, IPA_IPV6)) {
return -ENOTSUPP; return -EOPNOTSUPP;
} }
return qeth_l3_dev_route_store(card, &card->options.route6, return qeth_l3_dev_route_store(card, &card->options.route6,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment