Re: [PATCH] scsi/hosts.c device_register fix

From: James Bottomley (James.Bottomley@steeleye.com)
Date: Thu Nov 28 2002 - 11:57:40 EST


Actually, the patch is wrong. It will wreak havoc with SCSI's use of sysfs.
The device_register has to be done in scsi_add_host, which is called after all
the driver specific sysfs setup has been done. The correct fix is to move the
corresponding device_unregister into scsi_remove_host so that they match.

I've attached it below. I'll also commit it to the scsi-misc-2.5 BK tree.

James



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



This archive was generated by hypermail 2b29 : Sat Nov 30 2002 - 22:00:20 EST