Re: 2.6.13-rc6-mm1: drivers/scsi/aic7xxx/ compile error

From: Christoph Hellwig
Date: Fri Aug 19 2005 - 11:43:21 EST


On Fri, Aug 19, 2005 at 06:40:36PM +0200, Adrian Bunk wrote:
> <-- snip -->
>
> ...
> LD drivers/scsi/aic7xxx/built-in.o
> drivers/scsi/aic7xxx/aic79xx.o: In function `aic_parse_brace_option':
> : multiple definition of `aic_parse_brace_option'
> drivers/scsi/aic7xxx/aic7xxx.o:: first defined here
> make[3]: *** [drivers/scsi/aic7xxx/built-in.o] Error 1
>
> <-- snip -->
>
>
> #includ'ing .c files is considered harmful...

That code previously had a hack to rename those that I removed
accidentally. I think we should just kill aiclib.c and keep two
copies of the two functions it still has - they'll go away soon anyway.
I'll cook up a patch and sent it to James ASAP.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/