]> Git Repo - linux.git/commit
kprobes: Return error if we fail to reuse kprobe instead of BUG_ON()
authorMasami Hiramatsu <[email protected]>
Tue, 11 Sep 2018 10:20:40 +0000 (19:20 +0900)
committerIngo Molnar <[email protected]>
Wed, 12 Sep 2018 06:01:16 +0000 (08:01 +0200)
commit819319fc93461c07b9cdb3064f154bd8cfd48172
tree1af8017bac10831354dde691e7fa974f2e6b6358
parenta6d18e65dff2b73ceeb187c598b48898e36ad7b1
kprobes: Return error if we fail to reuse kprobe instead of BUG_ON()

Make reuse_unused_kprobe() to return error code if
it fails to reuse unused kprobe for optprobe instead
of calling BUG_ON().

Signed-off-by: Masami Hiramatsu <[email protected]>
Cc: Anil S Keshavamurthy <[email protected]>
Cc: David S . Miller <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Naveen N . Rao <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/153666124040.21306.14150398706331307654.stgit@devbox
Signed-off-by: Ingo Molnar <[email protected]>
kernel/kprobes.c
This page took 0.053412 seconds and 4 git commands to generate.