From: Adrian Bunk <bunk@fs.tum.de>
To: mikem@beardog.cca.cpqcorp.net
Cc: linux-kernel@vger.kernel.org
Subject: [2.6 patch] fix CCISS with PROC_FS=n
Date: Mon, 9 Aug 2004 17:34:46 +0200 [thread overview]
Message-ID: <20040809153446.GS26174@fs.tum.de> (raw)
I got the following compile error in 2.6.8-rc3-mm2 with
CONFIG_PROC_FS=n:
<-- snip -->
...
LD .tmp_vmlinux1
drivers/built-in.o(.text+0x1b221c): In function `do_cciss_intr':
: undefined reference to `complete_scsi_command'
drivers/built-in.o(.text+0x1b2d18): In function `cciss_init_one':
: undefined reference to `cciss_scsi_setup'
drivers/built-in.o(.text+0x1b2fd3): In function `cciss_remove_one':
: undefined reference to `cciss_unregister_scsi'
make: *** [.tmp_vmlinux1] Error 1
<-- snip -->
The following patch fixes this issue:
Signed-off-by: Adrian Bunk <bunk@fs.tum.de>
--- linux-2.6.8-rc3-mm2-full/drivers/block/cciss.c.old 2004-08-09 17:26:58.000000000 +0200
+++ linux-2.6.8-rc3-mm2-full/drivers/block/cciss.c 2004-08-09 17:27:14.000000000 +0200
@@ -185,10 +185,11 @@
}
return c;
}
-#ifdef CONFIG_PROC_FS
#include "cciss_scsi.c" /* For SCSI tape support */
+#ifdef CONFIG_PROC_FS
+
/*
* Report information about this controller.
*/
next reply other threads:[~2004-08-09 15:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-09 15:34 Adrian Bunk [this message]
2004-08-09 16:07 ` [2.6 patch] fix CCISS with PROC_FS=n mikem
2004-08-09 19:04 ` Adrian Bunk
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=20040809153446.GS26174@fs.tum.de \
--to=bunk@fs.tum.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mikem@beardog.cca.cpqcorp.net \
/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 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.