Re: [PATCH] isdn/sc: compile breakage re check_reset()

From: Andrew Morton
Date: Wed Jul 18 2007 - 16:16:27 EST


On Tue, 17 Jul 2007 14:33:43 +0400
Alexey Dobriyan <adobriyan@xxxxx> wrote:

> There is check_reset() -- global function in drivers/isdn/sc/
> There is check_reset -- variable holding module param in aacraid driver.
>
> On allyesconfig they clash with:
>
> LD drivers/built-in.o
> drivers/isdn/built-in.o: In function `check_reset':
> : multiple definition of `check_reset'
> drivers/scsi/built-in.o:(.data+0xe458): first defined here
> ld: Warning: size of symbol `check_reset' changed from 4 in drivers/scsi/built-in.o to 219 in drivers/isdn/built-in.o
> ld: Warning: type of symbol `check_reset' changed from 1 to 2 in drivers/isdn/built-in.o
>
> Rename the former.

yeah, well, I did aacraid-rename-check_reset.patch last month, but scsi
patches are hard to get rid of.

Both patches are needed: check_reset() is a dopey name.
-
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/