qeth: use -EOPNOTSUPP instead of -ENOTSUPP.
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>
This commit is contained in:
Родитель
e829658278
Коммит
211cd45ac7
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче