* [PATCH] PTI semantics fix in pti_tty_cleanup.
@ 2011-05-25 21:56 james_p_freyensee
0 siblings, 0 replies; only message in thread
From: james_p_freyensee @ 2011-05-25 21:56 UTC (permalink / raw)
To: gregkh; +Cc: linux-kernel, christophe.guerard, james_p_freyensee, rocher.jeremy
From: J Freyensee <james_p_freyensee@linux.intel.com>
This patch fixes a semantics issue in the pti_tty_cleanup()
routine.
Signed-off-by: J Freyensee <james_p_freyensee@linux.intel.com>
---
drivers/misc/pti.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/misc/pti.c b/drivers/misc/pti.c
index 62b7ba4..e5f295a 100644
--- a/drivers/misc/pti.c
+++ b/drivers/misc/pti.c
@@ -498,7 +498,7 @@ static void pti_tty_cleanup(struct tty_struct *tty)
if (pti_tty_data == NULL)
return;
pti_release_masterchannel(pti_tty_data->mc);
- kfree(tty->driver_data);
+ kfree(pti_tty_data);
tty->driver_data = NULL;
}
--
1.7.2.3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-05-25 21:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-25 21:56 [PATCH] PTI semantics fix in pti_tty_cleanup james_p_freyensee
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.