diff options
author | Fang Wenqi <anton.fang@gmail.com> | 2010-03-09 18:54:28 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-19 07:17:55 -0700 |
commit | d4bee0a677cfa5a32f964ffa420e27406c65e605 (patch) | |
tree | 64fe0f614941804519cb0f7849c851540d593d0a /include/linux | |
parent | e74d098c66543d0731de62eb747ccd5b636a6f4c (diff) | |
download | op-kernel-dev-d4bee0a677cfa5a32f964ffa420e27406c65e605.zip op-kernel-dev-d4bee0a677cfa5a32f964ffa420e27406c65e605.tar.gz |
tty_buffer: Fix distinct type warning
CC drivers/char/tty_buffer.o
drivers/char/tty_buffer.c: In function ‘tty_insert_flip_string_fixed_flag’:
drivers/char/tty_buffer.c:251: warning: comparison of distinct pointer types lacks a cast
drivers/char/tty_buffer.c: In function ‘tty_insert_flip_string_flags’:
drivers/char/tty_buffer.c:288: warning: comparison of distinct pointer types lacks a cast
Fix it by replacing min() with min_t() in tty_insert_flip_string_flags and
tty_insert_flip_string_fixed_flag().
Signed-off-by: Fang Wenqi <antonf@turbolinux.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions