scsi/ppa: replace
Subsystems (2)
PATCH 8/16 scsi/ppa: replace
Any comments would be appreciated.
Description: Use msleep() instead of schedule_timeout() to guarantee the task delays as expected.
drivers/scsi/ppa.c +1 -1
@@ -1034,7 +1034,7 @@ static int __ppa_attach(struct parport * dev->waiting = &waiting;prepare_to_wait (&waiting, &wait,TASK_UNINTERRUPTIBLE );if (ppa_pb_claim (dev)) -schedule_timeout (3 *HZ ); +msleep (3000 );if (dev->wanted) {printk (KERN_ERR "ppa%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