Re: [PATCH -mm] scsi: compile error on module_refcount

From: Daniel Walker
Date: Sat Sep 09 2006 - 12:28:03 EST


On Sat, 2006-09-09 at 09:26 -0700, dwalker@xxxxxxxxxx wrote:
> Fixes the following compile error,
>
> LD .tmp_vmlinux1
> drivers/built-in.o(.text+0x8e1f9): In function `scsi_device_put':
> drivers/scsi/scsi.c:887: undefined reference to `module_refcount'
> make: *** [.tmp_vmlinux1] Error 1
>
> There are only two users of module_refcount() outside of kernel/module.c
> and the other one uses ifdef's similar to this.
>

of course,

Signed-Off-By: Daniel Walker <dwalker@xxxxxxxxxx>

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