[PATCH 0/4] ftrace: One more check on x86 and some small fixes

From: Petr Mladek
Date: Mon Jun 27 2016 - 09:54:49 EST


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