projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dae42b
)
pti: PTI semantics fix in pti_tty_cleanup.
author
J Freyensee
<james_p_freyensee@linux.intel.com>
Wed, 25 May 2011 21:56:43 +0000
(14:56 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 7 Jun 2011 17:01:20 +0000
(10:01 -0700)
This patch fixes a semantics issue in the pti_tty_cleanup()
routine.
Signed-off-by: J Freyensee <james_p_freyensee@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/misc/pti.c
patch
|
blob
|
history
diff --git
a/drivers/misc/pti.c
b/drivers/misc/pti.c
index e74e7d266569c21b7c5c630af9a051f9e7e3a7cc..374dfcfccd07af35de8f5c45e8b0d6ac106a6bef 100644
(file)
--- 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;
}