mirror of https://github.com/dynup/kpatch
43 lines
1.5 KiB
Plaintext
43 lines
1.5 KiB
Plaintext
Disabled:
|
|
kpatch-build currently fails with "invalid ancestor" error. This happens
|
|
with at least drivers/gpu/drm/i2c/adv7511.o and drivers/hwmon/htu21.o
|
|
files. The problem is their .ko counterparts are never built for some
|
|
reason, This looks like a kernel bug since in both cases there are files
|
|
with same name but in different paths that have .ko module built.
|
|
---
|
|
diff -Nupr src.orig/fs/proc/cmdline.c src/fs/proc/cmdline.c
|
|
--- src.orig/fs/proc/cmdline.c 2016-12-15 19:55:39.084000000 +0000
|
|
+++ src/fs/proc/cmdline.c 2016-12-15 19:57:13.988000000 +0000
|
|
@@ -5,7 +5,7 @@
|
|
|
|
static int cmdline_proc_show(struct seq_file *m, void *v)
|
|
{
|
|
- seq_printf(m, "%s\n", saved_command_line);
|
|
+ seq_printf(m, "%s kpatch=1\n", saved_command_line);
|
|
return 0;
|
|
}
|
|
|
|
diff -Nupr src.orig/fs/proc/meminfo.c src/fs/proc/meminfo.c
|
|
--- src.orig/fs/proc/meminfo.c 2016-12-15 19:55:39.084000000 +0000
|
|
+++ src/fs/proc/meminfo.c 2016-12-15 19:57:13.988000000 +0000
|
|
@@ -99,7 +99,7 @@ static int meminfo_proc_show(struct seq_
|
|
"Committed_AS: %8lu kB\n"
|
|
"VmallocTotal: %8lu kB\n"
|
|
"VmallocUsed: %8lu kB\n"
|
|
- "VmallocChunk: %8lu kB\n"
|
|
+ "VMALLOCCHUNK: %8lu kB\n"
|
|
#ifdef CONFIG_MEMORY_FAILURE
|
|
"HardwareCorrupted: %5lu kB\n"
|
|
#endif
|
|
diff -Nupr src.orig/include/linux/kernel.h src/include/linux/kernel.h
|
|
--- src.orig/include/linux/kernel.h 2016-12-15 19:55:56.996000000 +0000
|
|
+++ src/include/linux/kernel.h 2016-12-15 19:57:13.992000000 +0000
|
|
@@ -2,6 +2,7 @@
|
|
#define _LINUX_KERNEL_H
|
|
|
|
|
|
+
|
|
#include <stdarg.h>
|
|
#include <linux/linkage.h>
|
|
#include <linux/stddef.h>
|