From: Eduardo Pereira Habkost <ehabkost@conectiva.com.br>
To: linux-8086@vger.kernel.org
Subject: [patch] Fix compile error when using debug
Date: Wed, 2 Jun 2004 10:28:14 -0300 [thread overview]
Message-ID: <20040602132813.GA26330@duckman.distro.conectiva> (raw)
[-- 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 --]
next reply other threads:[~2004-06-02 13:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-02 13:28 Eduardo Pereira Habkost [this message]
2004-06-03 14:00 ` [patch] Fix compile error when using debug Miguel Bolanos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040602132813.GA26330@duckman.distro.conectiva \
--to=ehabkost@conectiva.com.br \
--cc=linux-8086@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox