public inbox for linux-8086@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] Fix compile error when using debug
@ 2004-06-02 13:28 Eduardo Pereira Habkost
  2004-06-03 14:00 ` Miguel Bolanos
  0 siblings, 1 reply; 2+ messages in thread
From: Eduardo Pereira Habkost @ 2004-06-02 13:28 UTC (permalink / raw)
  To: linux-8086

[-- Attachment #1: Type: text/plain, Size: 590 bytes --]


The wrong struct field name was being used. Probably the code wasn't
tested with debug enabled.
-- 
Eduardo

--- elks/arch/i86/drivers/block/doshd.c	12 Jul 2003 08:46:16 -0000	1.27
+++ elks/arch/i86/drivers/block/doshd.c	2 Jun 2004 12:10:14 -0000
@@ -738,7 +738,7 @@
 	    BD_DX = (head << 8) | hd_drive_map[drive];
 	    BD_FL = 0;
 	    debug5("cylinder=%d head=%d sector=%d drive=%d CMD=%d\n",
-		   cylinder, head, sector, drive, req->cmd);
+		   cylinder, head, sector, drive, req->rq_cmd);
 	    debug1("blocks %d\n", this_pass);
 	    set_irq();
 	    call_bios();

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [patch] Fix compile error when using debug
  2004-06-02 13:28 [patch] Fix compile error when using debug Eduardo Pereira Habkost
@ 2004-06-03 14:00 ` Miguel Bolanos
  0 siblings, 0 replies; 2+ messages in thread
From: Miguel Bolanos @ 2004-06-03 14:00 UTC (permalink / raw)
  To: Eduardo Pereira Habkost; +Cc: linux-8086

Applied, thanks.

Mike

On Wed, 2004-06-02 at 07:28, Eduardo Pereira Habkost wrote:
> The wrong struct field name was being used. Probably the code wasn't
> tested with debug enabled.
-- 
--------------------miguel bolanos, systems administrator, linuxlabs
... ........ ..... ....                 230 peachtree st nw ste 2701
the original linux labs                          atlanta.ga.us 30303
       -since 1995                          http://www.linuxlabs.com
                                office 404.577.7747 fax 404.577.7743
--------------------------------------------------------------------


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

end of thread, other threads:[~2004-06-03 14:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-02 13:28 [patch] Fix compile error when using debug Eduardo Pereira Habkost
2004-06-03 14:00 ` Miguel Bolanos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox