All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jestin Stoffel <jstnstffl@gmail.com>
To: kernel-janitors@vger.kernel.org
Subject: [KJ] [PATCH]set_current_state cleanup in
Date: Fri, 06 Apr 2007 02:55:30 +0000	[thread overview]
Message-ID: <20070406025530.GD8199@crackpot> (raw)
In-Reply-To: <20070406024603.GB8199@crackpot>

From:  Jestin Stoffel <jstnstffl@gmail.com>

Replaced current->state= with set_current_state

---
--- linux-2.6.21-rc5/drivers/serial/serial_core.c.orig	2007-04-05 21:52:04.000000000 -0500
+++ linux-2.6.21-rc5/drivers/serial/serial_core.c	2007-04-05 21:52:45.000000000 -0500
@@ -1013,7 +1013,7 @@ uart_wait_modem_status(struct uart_state
 		cprev = cnow;
 	}
 
-	current->state = TASK_RUNNING;
+	set_current_state(TASK_RUNNING);
 	remove_wait_queue(&state->info->delta_msr_wait, &wait);
 
 	return ret;
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors

      reply	other threads:[~2007-04-06  2:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-06  2:46 [KJ] [PATCH]set_current_state cleanup in Jestin Stoffel
2007-04-06  2:55 ` Jestin Stoffel [this message]

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=20070406025530.GD8199@crackpot \
    --to=jstnstffl@gmail.com \
    --cc=kernel-janitors@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.