lkml.org 
[lkml]   [2004]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [2.6 patch] fix CCISS with PROC_FS=n
On Mon, Aug 09, 2004 at 05:34:46PM +0200, Adrian Bunk wrote:
> 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 */

We use /proc to hook into the SCSI subsystem. If you do not build /proc support
into your kernel then you should also disable tape support in the driver.

Thanks,
mikem
>
> +#ifdef CONFIG_PROC_FS
> +
> /*
> * Report information about this controller.
> */
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.025 / U:1.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site