projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e829658
)
qeth: use -EOPNOTSUPP instead of -ENOTSUPP.
author
Ursula Braun
<ursula.braun@de.ibm.com>
Fri, 15 Aug 2008 06:02:58 +0000
(08:02 +0200)
committer
Jeff 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/s390/net/qeth_l3_sys.c
b/drivers/s390/net/qeth_l3_sys.c
index ac1993708ae9cc1f09b622b3aa35af5ea0e33603..210ddb639748171c81a87e2b05ed59df12c431ea 100644
(file)
--- 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 -E
OP
NOTSUPP;
}
return qeth_l3_dev_route_store(card, &card->options.route6,