diff options
author | qiaochong <qiaochong@loongson.cn> | 2010-08-09 17:21:27 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-09 20:45:11 -0700 |
commit | 9e0ba741aabdf129d561e62d207c75146adef5e8 (patch) | |
tree | e4f86d12f1f1487c11d5752b14cdcfd5ffe95947 /arch | |
parent | 02f0777a0d6560eb995aade34a1b82f95c0452da (diff) | |
download | linux-3.10-9e0ba741aabdf129d561e62d207c75146adef5e8.tar.gz linux-3.10-9e0ba741aabdf129d561e62d207c75146adef5e8.tar.bz2 linux-3.10-9e0ba741aabdf129d561e62d207c75146adef5e8.zip |
drivers/char/vt.c:vc_do_resize(): local var `end' should be unsigned long
According include/linux/console_struct.h,vc_scr_end is unsigned long.
struct vc_data {
unsigned short vc_num; /* Console number */
unsigned int vc_cols; /* [#] Console size */
unsigned int vc_rows;
unsigned int vc_size_row; /* Bytes per row */
unsigned int vc_scan_lines; /* # of scan lines */
unsigned long vc_origin; /* [!] Start of real screen */
unsigned long vc_scr_end; /* [!] End of real screen */
unsigned long vc_visible_origin; /* [!] Top of visible window */
unsigned int vc_top, vc_bottom; /* Scrolling region */
const struct consw *vc_sw;
unsigned short *vc_screenbuf;
...
}
Signed-off-by: qiaochong <qiaochong@loongson.cn>
Cc: Greg KH <greg@kroah.com>
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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions