On Sat, Feb 12, 2005 at 09:49:57PM +1100, Finn Thain wrote:
> --- linux-2.6.10/drivers/scsi/scsi_module.c 2004-12-25
> 08:34:29.000000000 +1100
> +++ /Volumes/Linux/btc/build/linux-2.6.10/drivers/scsi/scsi_module.c
> 2005-02-13 20:45:33.677591385 +1100
> @@ -21,12 +21,14 @@
> struct list_head *l;
> int error;
>
> +#if defined(MODULE) || defined(CONFIG_HOTPLUG)
An __exit function calls sht->release, so #ifdef MODULE is sufficient.
> if (!sht->release) {
> printk(KERN_ERR
> "scsi HBA driver %s didn't set a release method.\n",
> sht->name);
> return -EINVAL;
> }
> +#endif
-
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html