summarylogtreecommitdiffstats
path: root/linux-cjktty-patch-for-4.9.112+.patch
diff options
context:
space:
mode:
Diffstat (limited to 'linux-cjktty-patch-for-4.9.112+.patch')
-rw-r--r--linux-cjktty-patch-for-4.9.112+.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/linux-cjktty-patch-for-4.9.112+.patch b/linux-cjktty-patch-for-4.9.112+.patch
deleted file mode 100644
index 792432a5fd3..00000000000
--- a/linux-cjktty-patch-for-4.9.112+.patch
+++ /dev/null
@@ -1,25 +0,0 @@
---- linux-cjktty-4.9.patch 2018-09-07 17:30:30.000000000 +0800
-+++ linux-cjktty-4.9.112.patch 2018-09-07 22:55:12.000000000 +0800
-@@ -134,8 +134,8 @@
- if (!*vc->vc_uni_pagedir_loc)
- con_set_default_unimap(vc);
-
--- vc->vc_screenbuf = kmalloc(vc->vc_screenbuf_size, GFP_KERNEL);
--+ vc->vc_screenbuf = kmalloc(vc->vc_screenbuf_size * 2, GFP_KERNEL);
-+- vc->vc_screenbuf = kzalloc(vc->vc_screenbuf_size, GFP_KERNEL);
-++ vc->vc_screenbuf = kzalloc(vc->vc_screenbuf_size * 2, GFP_KERNEL);
- if (!vc->vc_screenbuf)
- goto err_free;
-
-@@ -159,9 +159,9 @@
-
- if (new_screen_size > (4 << 20))
- return -EINVAL;
--- newscreen = kmalloc(new_screen_size, GFP_USER);
-+- newscreen = kzalloc(new_screen_size, GFP_USER);
- +
--+ newscreen = kmalloc(new_screen_size * 2, GFP_USER);
-++ newscreen = kzalloc(new_screen_size * 2, GFP_USER);
- +
- if (!newscreen)
- return -ENOMEM;