Re: [PATCH] freezer: Fix typo in commnent to function freezable_schedule_timeout()

From: Pavel Machek
Date: Sat Nov 04 2017 - 18:03:17 EST


On Sun 2017-11-05 03:27:32, Himanshu Jha wrote:
> Signed-off-by: Himanshu Jha <himanshujha199640@xxxxxxxxx>

ACK.

But note you have typo in the subject ;-).

Plus this kind of bug is usually called thinko.
Pavel


> diff --git a/include/linux/freezer.h b/include/linux/freezer.h
> index 3995df1..21f5aa0 100644
> --- a/include/linux/freezer.h
> +++ b/include/linux/freezer.h
> @@ -182,7 +182,7 @@ static inline void freezable_schedule_unsafe(void)
> }
>
> /*
> - * Like freezable_schedule_timeout(), but should not block the freezer. Do not
> + * Like schedule_timeout(), but should not block the freezer. Do not
> * call this with locks held.
> */
> static inline long freezable_schedule_timeout(long timeout)

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachment: signature.asc
Description: Digital signature