lkml.org 
[lkml]   [1996]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectthinko in 2.0.9 drivers/block/ide.c
For some reason the variable hd_status was moved inside #ifdef
CONFIG_BLK_DEV_CMD640 by the 2.0.9 patch, but is still used in places
outside that config option. Would the following diff be the right thing
to do?

--- linux-2.0.9/drivers/block/ide.c Fri Jul 26 09:58:50 1996
+++ linux/drivers/block/ide.c Fri Jul 26 10:18:20 1996
@@ -2383,11 +2383,10 @@
*/
static int try_to_identify (ide_drive_t *drive, byte cmd)
{
- int irqs, rc;
+ int hd_status, irqs, rc;
unsigned long timeout;
#ifdef CONFIG_BLK_DEV_CMD640
int retry = 0;
- int hd_status;

try_again:
#endif /* CONFIG_BLK_DEV_CMD640 */

\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.023 / U:2.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site