Skip to content
Commit a5f658b7 authored by Oleg Nesterov's avatar Oleg Nesterov
Browse files

uprobes: Don't return success if alloc_uprobe() fails



If alloc_uprobe() fails uprobe_register() should return ENOMEM, not 0.

Signed-off-by: default avatarOleg Nesterov <oleg@redhat.com>
Acked-by: default avatarSrikar Dronamraju <srikar@linux.vnet.ibm.com>
parent b64b9c93
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment