message/mptbase: replace
drivers/message/fusion/mptbase.c
Quoted 29 lines · Nishanth Aravamudan
I would appreciate any comments from the janitors list. This is one (of many) cases where I made a decision about replacing
set_current_state(TASK_INTERRUPTIBLE);schedule_timeout(some_time);with
msleep(jiffies_to_msecs(some_time));
msleep()is not exactly the same as the previous code, but I only did this replacement where I thought long delays were *desired*. If this is not the case here, then just disregard this patch.Thanks,
NishApplys-to: 2.6.7
Description: Replace
schedule_timeout()withmsleep()to guarantee the task delays for the desired time.Signed-off-by Nishanth Aravamudan <[email protected]>drivers/message/fusion/mptbase.c +0
-0
could you please rework this one, it doesn't apply anymore to 2.6.8 i could do it but prefer to get next kjt patchset out soon.
a++ maks
ps patchfile output:
patching file drivers/message/fusion/mptbase.c
Hunk #1 succeeded at 3328 (offset 211 lines).
Hunk #2 FAILED at 3560.
Hunk #3 FAILED at 3652.
Hunk #4 FAILED at 3743.
Hunk #5 FAILED at 3769.
Hunk #6 FAILED at 3801.
5 out of 6 hunks FAILED -- saving rejects to file drivers/message/fusion/mptbase.c.rej
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors