All of lore.kernel.org
 help / color / mirror / Atom feed
From: frank.blaschka@de.ibm.com
To: jgarzik@pobox.com
Cc: netdev@vger.kernel.org, linux-s390@vger.kernel.org,
	Ursula Braun <ursula.braun@de.ibm.com>
Subject: [patch 1/3] qeth: use -EOPNOTSUPP instead of -ENOTSUPP.
Date: Fri, 15 Aug 2008 08:02:58 +0200	[thread overview]
Message-ID: <20080815060351.630030000@de.ibm.com> (raw)
In-Reply-To: 20080815060257.501264000@de.ibm.com

[-- Attachment #1: 600-qeth-rc.diff --]
[-- Type: text/plain, Size: 851 bytes --]

From: Ursula Braun <ursula.braun@de.ibm.com>

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>
---

 drivers/s390/net/qeth_l3_sys.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -urpN linux-2.6/drivers/s390/net/qeth_l3_sys.c linux-2.6-patched/drivers/s390/net/qeth_l3_sys.c
--- linux-2.6/drivers/s390/net/qeth_l3_sys.c	2008-07-13 23:51:29.000000000 +0200
+++ linux-2.6-patched/drivers/s390/net/qeth_l3_sys.c	2008-08-14 18:46:41.000000000 +0200
@@ -136,7 +136,7 @@ static ssize_t qeth_l3_dev_route6_store(
 		return -EINVAL;
 
 	if (!qeth_is_supported(card, IPA_IPV6)) {
-		return -ENOTSUPP;
+		return -EOPNOTSUPP;
 	}
 
 	return qeth_l3_dev_route_store(card, &card->options.route6,

-- 

  reply	other threads:[~2008-08-15  6:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-15  6:02 [patch 0/3] s390: qeth fixes for 2.6.27 frank.blaschka
2008-08-15  6:02 ` frank.blaschka [this message]
2008-08-15  6:02 ` [patch 2/3] qeth: l2 write unicast list to hardware frank.blaschka
2008-08-15  6:03 ` [patch 3/3] qeth: preallocated header account offset frank.blaschka
2008-08-27  9:56   ` Jeff Garzik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080815060351.630030000@de.ibm.com \
    --to=frank.blaschka@de.ibm.com \
    --cc=jgarzik@pobox.com \
    --cc=linux-s390@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=ursula.braun@de.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.