scsi/imm: replace
Subsystems (2)
PATCH 5/16 scsi/imm: replace
Any comments would be appreciated.
Description: Use msleep() instead of schedule_timeout() to guarantee the task delays as expected.
drivers/scsi/imm.c +1 -1
@@ -1184,7 +1184,7 @@ static int __imm_attach(struct parport * dev->waiting = &waiting;prepare_to_wait (&waiting, &wait,TASK_UNINTERRUPTIBLE );if (imm_pb_claim (dev)) -schedule_timeout (3 *HZ ); +msleep (3000 );if (dev->wanted) {printk (KERN_ERR "imm%d: failed to claim parport because " "a pardevice is owning the port for too long "
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors