akpm@xxxxxxxxxxxxxxxxxxxx wrote: > From: Chunbo Luo <chunbo.luo@xxxxxxxxxxxxx> > > Previously, queue_delayed_work() was started unconditionally, but if > ATA_PFLAG_SCSI_HOTPLUG is not set and we do this, the work queue may cause > multiple messages like this: > > ata3.00: WARNING: ATAPI is not supported with this driver, device ignored. > > So now,it is only started when the hotplug flag is actually set. > > Signed-off-by: Chunbo Luo <chunbo.luo@xxxxxxxxxxxxx> > Cc: Jeff Garzik <jeff@xxxxxxxxxx> > Cc: Tejun Heo <tj@xxxxxxxxxx> > Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Oops, I forgot to send the alternative patch (verified by Chunbo). I'm sending it to Jeff now and cc'ing you. Please drop this one when the patch hits -mm. Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html