diff options
author | Oleg Nesterov <[email protected]> | 2018-05-18 18:27:39 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-06-21 17:11:02 +0200 |
commit | 90718e32e1dcc2479acfa208ccfc6442850b594c (patch) | |
tree | dd662e5d1d39c6909e1ebe033bc2fa3e2018350b /scripts/gcc-plugins/gcc-common.h | |
parent | a89d0c2acff952935cb37d501eaa702db5a63a05 (diff) |
uprobes/x86: Remove incorrect WARN_ON() in uprobe_init_insn()
insn_get_length() has the side-effect of processing the entire instruction
but only if it was decoded successfully, otherwise insn_complete() can fail
and in this case we need to just return an error without warning.
Reported-by: [email protected]
Signed-off-by: Oleg Nesterov <[email protected]>
Reviewed-by: Masami Hiramatsu <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: https://lkml.kernel.org/lkml/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions