__tty_open(): use the correct type for saved_flags
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 2 Apr 2009 23:56:36 +0000 (16:56 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 3 Apr 2009 02:04:48 +0000 (19:04 -0700)
commit846c151a4de188bb8f7043097518dab2ff5b5c2c
tree9ba48a2dbb8ecd137d7bf41039fa628bab75824e
parentb6fac63cc1f52ec27f29fe6c6c8494a2ffac33fd
__tty_open(): use the correct type for saved_flags

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