2.6.0-test9-mjb2: emulex driver link error

From: Adrian Bunk
Date: Thu Nov 13 2003 - 12:02:19 EST


On Fri, Nov 07, 2003 at 07:48:05AM -0800, Martin J. Bligh wrote:
>...
> emulex driver Emulex
> Driver for emulex fiberchannel cards
>...

"copyin" and "copyout" aren't good names for non-static functions:

<-- snip -->

...
LD drivers/built-in.o
drivers/scsi/built-in.o(.text+0x1182c0): In function `copyout':
: multiple definition of `copyout'
drivers/char/built-in.o(.text+0x58fe0): first defined here
ld: Warning: size of symbol `copyout' changed from 95 in
drivers/char/built-in.o to 55 in drivers/scsi/built-in.o
drivers/scsi/built-in.o(.text+0x118300): In function `copyin':
: multiple definition of `copyin'
drivers/char/built-in.o(.text+0x58f60): first defined here
ld: Warning: size of symbol `copyin' changed from 125 in
drivers/char/built-in.o to 88 in drivers/scsi/built-in.o
make[1]: *** [drivers/built-in.o] Error 1
make: *** [drivers] Error 2

<-- snip -->

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

-
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/