Masami Hiramatsu 819319fc93 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 <mhiramat@kernel.org>
Cc: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
Cc: David S . Miller <davem@davemloft.net>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Naveen N . Rao <naveen.n.rao@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/153666124040.21306.14150398706331307654.stgit@devbox
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2018-09-12 08:01:16 +02:00
..
2018-06-12 16:19:22 -07:00
2018-09-09 21:36:31 +02:00
2018-08-20 18:32:00 -07:00
2018-09-06 23:38:35 +02:00
\n
2018-08-17 09:41:28 -07:00
2018-08-15 10:46:54 -07:00
2018-04-27 14:34:51 +02:00
2018-01-05 18:43:00 +11:00
2018-07-21 10:43:12 -05:00
2018-06-08 17:21:52 -07:00
2018-06-06 16:34:00 -07:00
2018-07-03 09:20:44 +02:00
2018-06-07 16:56:28 -04:00