From: Osamu Tomita <tomita@cinet.co.jp>
To: Christoph Lameter <christoph@lameter.com>
Cc: Martin Dalecki <dalecki@evision-ventures.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: 2.5.18 compilation failure ide_scsi
Date: Sat, 25 May 2002 22:08:30 +0900 [thread overview]
Message-ID: <3CEF8CCE.3740447A@cinet.co.jp> (raw)
In-Reply-To: <Pine.LNX.4.44.0205250031570.7716-100000@k2-400.lameter.com>
Christoph Lameter wrote:
>
> drivers/ide/idedriver.o: In function `ata_module_init':
> drivers/ide/idedriver.o(.text.init+0xa5f): undefined reference to
> `idescsi_init'make: *** [vmlinux] Error 1
I have had a same problem.
Try this patch.
--- linux-2.5.18/drivers/scsi/ide-scsi.c.orig Sat May 25 10:55:17 2002
+++ linux-2.5.18/drivers/scsi/ide-scsi.c Sat May 25 21:18:55 2002
@@ -804,7 +804,12 @@
};
-static int __init idescsi_init(void)
+int idescsi_init(void)
+{
+ return ata_driver_module(&idescsi_driver);
+}
+
+static int __init init_idescsi_module(void)
{
int ret;
ret = ata_driver_module(&idescsi_driver);
@@ -828,6 +833,6 @@
unregister_ata_driver(&idescsi_driver);
}
-module_init(idescsi_init);
+module_init(init_idescsi_module);
module_exit(exit_idescsi_module);
MODULE_LICENSE("GPL");
prev parent reply other threads:[~2002-05-25 13:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-25 7:32 2.5.18 compilation failure ide_scsi Christoph Lameter
2002-05-25 13:08 ` Osamu Tomita [this message]
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=3CEF8CCE.3740447A@cinet.co.jp \
--to=tomita@cinet.co.jp \
--cc=christoph@lameter.com \
--cc=dalecki@evision-ventures.com \
--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