From: maximilian attems <janitor@sternwelten.at>
To: akpm@osdl.org
Cc: linux-kernel@vger.kernel.org
Subject: [patch] msleep_interruptible() fix whitespace
Date: Thu, 30 Sep 2004 22:49:18 +0200 [thread overview]
Message-ID: <20040930204918.GD1848@stro.at> (raw)
thanks Xu for noticing, some whitespace found it's way there.
clean that up.
--- linux-2.6.9-rc3-b/kernel/timer.c 2004-09-30 22:25:27.000000000 +0200
+++ linux-2.6.9-rc3/kernel/timer.c 2004-09-30 22:37:09.000000000 +0200
@@ -1624,13 +1624,13 @@ EXPORT_SYMBOL(msleep);
*/
unsigned long msleep_interruptible(unsigned int msecs)
{
- unsigned long timeout = msecs_to_jiffies(msecs);
+ unsigned long timeout = msecs_to_jiffies(msecs);
- while (timeout && !signal_pending(current)) {
- set_current_state(TASK_INTERRUPTIBLE);
- timeout = schedule_timeout(timeout);
- }
- return jiffies_to_msecs(timeout);
+ while (timeout && !signal_pending(current)) {
+ set_current_state(TASK_INTERRUPTIBLE);
+ timeout = schedule_timeout(timeout);
+ }
+ return jiffies_to_msecs(timeout);
}
EXPORT_SYMBOL(msleep_interruptible);
--
maks
kernel janitor http://janitor.kernelnewbies.org/
reply other threads:[~2004-09-30 20:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040930204918.GD1848@stro.at \
--to=janitor@sternwelten.at \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox