aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/char/vt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/char/vt.c b/drivers/char/vt.c
index 5db295d7a879..349673d432f1 100644
--- a/drivers/char/vt.c
+++ b/drivers/char/vt.c
@@ -1990,8 +1990,7 @@ static int is_double_width(uint32_t ucs)
1990 { 0xFE10, 0xFE19 }, { 0xFE30, 0xFE6F }, { 0xFF00, 0xFF60 }, 1990 { 0xFE10, 0xFE19 }, { 0xFE30, 0xFE6F }, { 0xFF00, 0xFF60 },
1991 { 0xFFE0, 0xFFE6 }, { 0x20000, 0x2FFFD }, { 0x30000, 0x3FFFD } 1991 { 0xFFE0, 0xFFE6 }, { 0x20000, 0x2FFFD }, { 0x30000, 0x3FFFD }
1992 }; 1992 };
1993 return bisearch(ucs, double_width, 1993 return bisearch(ucs, double_width, ARRAY_SIZE(double_width) - 1);
1994 sizeof(double_width) / sizeof(*double_width) - 1);
1995} 1994}
1996 1995
1997/* acquires console_sem */ 1996/* acquires console_sem */