]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit700aa152f772a2f4e5a3f0da1c42f75126410abf
tree302ccb5a8cd9dee3c5affe1407e1413b66e8a207
parent479540cb0ba918fde1942725b3525510badfa39f
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