Messages in this thread Patch in this message | | | From | (Andreas Koppenhoefer) | Subject | 2.0.9: cannot compile ide.c (with patch) | Date | 27 Jul 1996 22:48:11 +0200 |
| |
-----BEGIN PGP SIGNED MESSAGE-----
Hello folks,
compiling kernel 2.0.9 with ide support but without CONFIG_BLK_DEV_CMD640 fails with the following compilation error:
ide.c: In function `try_to_identify': ide.c:2404: `hd_status' undeclared (first use this function)
The following simple patch should fix this...
--- 2.0.9/drivers/block/ide.c~ Fri Jul 26 22:45:35 1996 +++ 2.0.9/drivers/block/ide.c Sat Jul 27 22:40:01 1996 @@ -2385,9 +2385,9 @@ { int irqs, rc; unsigned long timeout; + int hd_status; #ifdef CONFIG_BLK_DEV_CMD640 int retry = 0; - int hd_status; try_again: #endif /* CONFIG_BLK_DEV_CMD640 */
- Andreas
-----BEGIN PGP SIGNATURE----- Version: 2.6.2i Comment: Processed by Mailcrypt 3.3, an Emacs/PGP interface iQBVAwUBMfqAiUVdjNvyndGpAQGE2gIAtAzHo3GocishA9rOgT6dQwCCt/YABdii rAoctfD1xFpsQ9feNoyIOo6/cw/LzqOlsUrB9ez4q2DEhwvc9WQSTA== =dU0J -----END PGP SIGNATURE----- -- Andreas Koppenhoefer, Student der Universitaet Stuttgart, BR Deutschland Franz-Schubert-Str. 2, 97616 Bad Neustadt; Phone +49 9771 7943, Fax/Data 7947 <akoppenhoefer@schweinfurt.netsurf.de>,<koppenas@informatik.uni-stuttgart.de> <Andreas.Koppenhoefer@studbox.uni-stuttgart.de>; PGP-Key available at URL <http://www.informatik.uni-stuttgart.de/menschen/ako/impressum.html>
| |