projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6fac63
)
__tty_open(): use the correct type for saved_flags
author
Andrew Morton
<akpm@linux-foundation.org>
Thu, 2 Apr 2009 23:56:36 +0000
(16:56 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Fri, 3 Apr 2009 02:04:48 +0000
(19:04 -0700)
filp->f_flags is unsigned, so use that type for the local copy.
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/tty_io.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/tty_io.c
b/drivers/char/tty_io.c
index 33dac94922a79c1a86b98ea6bc1037d6ef506222..a44b701c5bbadacd4726850e424f1e4185d1909e 100644
(file)
--- a/
drivers/char/tty_io.c
+++ b/
drivers/char/tty_io.c
@@
-1758,7
+1758,7
@@
static int __tty_open(struct inode *inode, struct file *filp)
struct tty_driver *driver;
int index;
dev_t device = inode->i_rdev;
- unsigned s
hort s
aved_flags = filp->f_flags;
+ unsigned saved_flags = filp->f_flags;
nonseekable_open(inode, filp);