Skip to content

Commit

Permalink
qeth: use -EOPNOTSUPP instead of -ENOTSUPP.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ursula Braun authored and Jeff Garzik committed Aug 27, 2008
1 parent e829658 commit 211cd45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/s390/net/qeth_l3_sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 211cd45

Please sign in to comment.