mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: linux-kernel@vger.kernel.org, torvalds@transmeta.com
Subject: PATCH: DRIVERNAME SUPPRESSED DUE TO KERNEL.ORG FILTER BUGS
Date: Thu, 27 Mar 2003 18:17:27 GMT	[thread overview]
Message-ID: <200303271817.h2RIHRcD019652@hraefn.swansea.linux.org.uk> (raw)

Ensure hdparm errors to the user when the request isnt allowed
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.66-bk3/drivers/ide/ide-taskfile.c linux-2.5.66-ac1/drivers/ide/ide-taskfile.c
--- linux-2.5.66-bk3/drivers/ide/ide-taskfile.c	2003-03-27 17:13:18.000000000 +0000
+++ linux-2.5.66-ac1/drivers/ide/ide-taskfile.c	2003-03-26 20:22:22.000000000 +0000
@@ -1670,7 +1670,7 @@
 
 #else
 
-	int err = 0;
+	int err = -EIO;
 	u8 args[4], *argbuf = args;
 	u8 xfer_rate = 0;
 	int argsize = 0;


(Jens Axboe)

             reply	other threads:[~2003-03-27 17:00 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-27 18:17 Alan Cox [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-03-27 18:26 Alan Cox
2003-03-27 18:25 Alan Cox
2003-03-27 18:24 Alan Cox
2003-03-27 18:23 Alan Cox
2003-03-27 18:22 Alan Cox
2003-03-27 18:22 Alan Cox
2003-03-27 18:21 Alan Cox
2003-03-27 18:20 Alan Cox
2003-03-27 18:18 Alan Cox
2003-03-27 18:17 Alan Cox
2003-03-27 18:16 Alan Cox
2003-03-27 18:16 Alan Cox
2003-03-27 18:17 ` Matti Aarnio
2003-03-27 19:04   ` Alan Cox
2003-03-27 20:16     ` Gerhard Mack
2003-03-27 21:34   ` Henning P. Schmiedehausen

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=200303271817.h2RIHRcD019652@hraefn.swansea.linux.org.uk \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®