tty: Compute flip buffer ptrs
authorPeter Hurley <peter@hurleysoftware.com>
Sat, 15 Jun 2013 13:36:01 +0000 (09:36 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jul 2013 23:47:07 +0000 (16:47 -0700)
commit1fc359fc3ea72314cc3ebdfa94c60e020c152cd2
tree302ccb5a8cd9dee3c5affe1407e1413b66e8a207
parentf0f947c124e05ec977019b974b12dfe171dd7148
tty: Compute flip buffer ptrs

The char_buf_ptr and flag_buf_ptr values are trivially derived from
the .data field offset; compute values as needed.

Fixes a long-standing type-mismatch with the char and flag ptrs.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_buffer.c
include/linux/tty.h
include/linux/tty_flip.h