PATCH: DRIVERNAME SUPPRESSED DUE TO KERNEL.ORG FILTER BUGS

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Thu Mar 27 2003 - 13:17:27 EST


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)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Mar 31 2003 - 22:00:28 EST