All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] trivial compile fix when FANCY_STATUS_DUMPS disabled
@ 2003-10-24  3:32 Eric Wong
  2003-10-24  3:35 ` Eric Wong
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Wong @ 2003-10-24  3:32 UTC (permalink / raw)
  To: marcelo.tosatti, linux-kernel

This fixes compilation when FANCY_STATUS_DUMPS is disabled in
include/linux/ide.h

diff -ruNp a/drivers/ide/ide-disk.c b/drivers/ide/ide-disk.c
--- a/drivers/ide/ide-disk.c	2003-06-13 07:51:33.000000000 -0700
+++ b/drivers/ide/ide-disk.c	2003-10-23 02:05:53.000000000 -0700
@@ -881,8 +881,8 @@ static u8 idedisk_dump_status (ide_drive
 				printk(", sector=%ld",
 					HWGROUP(drive)->rq->sector);
 		}
-	}
 #endif	/* FANCY_STATUS_DUMPS */
+	}
 	printk("\n");
 	local_irq_restore(flags);
 	return err;

-- 
Eric Wong

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] trivial compile fix when FANCY_STATUS_DUMPS disabled
  2003-10-24  3:32 [PATCH] trivial compile fix when FANCY_STATUS_DUMPS disabled Eric Wong
@ 2003-10-24  3:35 ` Eric Wong
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Wong @ 2003-10-24  3:35 UTC (permalink / raw)
  To: marcelo.tosatti, linux-kernel

Eric Wong <normalperson@yhbt.net> wrote:
> This fixes compilation when FANCY_STATUS_DUMPS is disabled in
> include/linux/ide.h

Oops, forgot to say, this is against 2.4.22

diff -ruNp a/drivers/ide/ide-disk.c b/drivers/ide/ide-disk.c
--- a/drivers/ide/ide-disk.c	2003-06-13 07:51:33.000000000 -0700
+++ b/drivers/ide/ide-disk.c	2003-10-23 02:05:53.000000000 -0700
@@ -881,8 +881,8 @@ static u8 idedisk_dump_status (ide_drive
 				printk(", sector=%ld",
 					HWGROUP(drive)->rq->sector);
 		}
-	}
 #endif	/* FANCY_STATUS_DUMPS */
+	}
 	printk("\n");
 	local_irq_restore(flags);
 	return err;

-- 
Eric Wong

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-10-24  3:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-24  3:32 [PATCH] trivial compile fix when FANCY_STATUS_DUMPS disabled Eric Wong
2003-10-24  3:35 ` Eric Wong

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.