From: masami ichikawa <hangar-18@mub.biglobe.ne.jp>
To: linux-kernel@vger.kernel.org
Subject: Re: 2.6.3-mm2
Date: Fri, 20 Feb 2004 21:53:23 +0900 [thread overview]
Message-ID: <40360343.6090803@mub.biglobe.ne.jp> (raw)
In-Reply-To: <20040220014437.0bf6d47f.akpm@osdl.org>
Hi!
I got the following compile error
drivers/parport/parport_pc.c: In function `parport_pc_unregister_port':
drivers/parport/parport_pc.c:2337: error: `priv' undeclared (first use
in this function)
drivers/parport/parport_pc.c:2337: error: (Each undeclared identifier is
reported only once
drivers/parport/parport_pc.c:2337: error: for each function it appears in.)
make[2]: *** [drivers/parport/parport_pc.o] Error 1
make[1]: *** [drivers/parport] Error 2
make: *** [drivers] Error 2
I add "#ifdef CONFIG_PARPORT_PC_FIFO" and "#endif"
diff -aur linux-mm/drivers/parport/parport_pc.c
linux-mm-new/drivers/parport/parport_pc.c
--- linux-mm/drivers/parport/parport_pc.c 2004-02-20
20:40:13.000000000 +0900
+++ linux-mm-new/drivers/parport/parport_pc.c 2004-02-20
21:15:10.434866156 +0900
@@ -2333,9 +2333,13 @@
#endif /* CONFIG_PARPORT_PC_FIFO */
struct parport_operations *ops = p->ops;
parport_remove_port(p);
+
+#ifdef CONFIG_PARPORT_PC_FIFO
spin_lock(&ports_lock);
list_del_init(&priv->list);
spin_unlock(&ports_lock);
+#endif /* CONFIG_PARPORT_PC_FIFO */
+
if (p->dma != PARPORT_DMA_NONE)
free_dma(p->dma);
if (p->irq != PARPORT_IRQ_NONE)
--
/*
* masami ichikawa
* mailto:hangar-18@mub.biglobe.ne.jp
*/
next prev parent reply other threads:[~2004-02-20 13:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-20 9:44 2.6.3-mm2 Andrew Morton
2004-02-20 12:53 ` masami ichikawa [this message]
2004-02-20 18:12 ` 2.6.3-mm2 (compile stats) John Cherry
2004-02-20 22:36 ` 2.6.3-mm2 Ari Pollak
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=40360343.6090803@mub.biglobe.ne.jp \
--to=hangar-18@mub.biglobe.ne.jp \
--cc=linux-kernel@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