aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/algos/i2c-algo-bit.c
diff options
context:
space:
mode:
authorOleg Nesterov <[email protected]>2018-05-18 16:27:39 +0000
committerIngo Molnar <[email protected]>2018-06-21 15:11:02 +0000
commit90718e32e1dcc2479acfa208ccfc6442850b594c (patch)
treedd662e5d1d39c6909e1ebe033bc2fa3e2018350b /drivers/i2c/algos/i2c-algo-bit.c
parentMerge tag 'perf-urgent-for-mingo-4.18-20180611' of git://git.kernel.org/pub/s... (diff)
downloadkernel-90718e32e1dcc2479acfa208ccfc6442850b594c.tar.gz
kernel-90718e32e1dcc2479acfa208ccfc6442850b594c.zip
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 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions