1st patch adds one more paranoid check of the modified function on x86. Plus there are 3 small changes that appeared when hunting down the 1st patch.
Petr Mladek (4): ftrace/x86: Make sure to modify 5-bite instructions ftrace/x86: Do not crash when reading wrong ftrace func ftrace: Always destroy trampoline when shutting down the trace ftrace: Fixup trace_selftest_ops() arch/x86/kernel/ftrace.c | 12 ++++++++- kernel/trace/ftrace.c | 62 ++++++++++++++++++++++--------------------- kernel/trace/trace_selftest.c | 7 ++--- 3 files changed, 47 insertions(+), 34 deletions(-) -- 1.8.5.6